This commit is contained in:
Alexey Pelykh 2014-12-17 18:35:16 +02:00
parent 40fadc0f78
commit a8c0ab2aae

View file

@ -55,10 +55,6 @@ android {
jumboMode = true
}
packagingOptions {
exclude 'lib/armeabi/libgnustl_shared.so'
}
sourceSets {
main {
manifest.srcFile "AndroidManifest.xml"
@ -220,8 +216,13 @@ task buildOsmAndCore(type: Exec) {
commandLine ""
}
}
task cleanupDuplicatesInCore(type: Delete) {
dependsOn buildOsmAndCore
delete "libs/*/libgnustl_shared.so"
}
tasks.withType(JavaCompile) {
compileTask -> compileTask.dependsOn << buildOsmAndCore
compileTask -> compileTask.dependsOn << buildOsmAndCore, cleanupDuplicatesInCore
}
repositories {