Add property to exclude resources
This commit is contained in:
parent
99edaef8f6
commit
05425ccab6
1 changed files with 5 additions and 1 deletions
|
@ -61,7 +61,11 @@ task collectExternalResources {
|
||||||
}
|
}
|
||||||
|
|
||||||
task androidJar(type: Jar) {
|
task androidJar(type: Jar) {
|
||||||
dependsOn collectExternalResources, build
|
if (!project.hasProperty('osmandCoreSimple')) {
|
||||||
|
dependsOn collectExternalResources, build
|
||||||
|
} else {
|
||||||
|
dependsOn build
|
||||||
|
}
|
||||||
appendix = "android"
|
appendix = "android"
|
||||||
from (sourceSets.main.java.outputDir) {
|
from (sourceSets.main.java.outputDir) {
|
||||||
exclude("**/PlatformUtil.*")
|
exclude("**/PlatformUtil.*")
|
||||||
|
|
Loading…
Reference in a new issue