android 编译忽略某个 文件
程序员文章站
2022-07-01 15:28:40
...
android{
sourceSets {
main {
java {
exclude '**/SomeExcludedClass.java'
}
assets{
exclude '**/somefile'
}
}
packagingOptions {
exclude 'META-INF/BCKEY.SF'
exclude 'META-INF/BCKEY.DSA'
}
}
转载于:https://my.oschina.net/zdglf/blog/1377572