Add property to exclude resources

This commit is contained in:
Victor Shcherb 2019-06-11 10:37:29 +02:00
parent 99edaef8f6
commit 05425ccab6

View file

@ -61,7 +61,11 @@ task collectExternalResources {
} }
task androidJar(type: Jar) { task androidJar(type: Jar) {
if (!project.hasProperty('osmandCoreSimple')) {
dependsOn collectExternalResources, build dependsOn collectExternalResources, build
} else {
dependsOn build
}
appendix = "android" appendix = "android"
from (sourceSets.main.java.outputDir) { from (sourceSets.main.java.outputDir) {
exclude("**/PlatformUtil.*") exclude("**/PlatformUtil.*")