Test gradle
This commit is contained in:
parent
a6587d7db0
commit
fa725d7603
1 changed files with 11 additions and 0 deletions
|
@ -94,6 +94,11 @@ android {
|
|||
free {
|
||||
manifest.srcFile "AndroidManifest-free.xml"
|
||||
}
|
||||
debug {
|
||||
jniLibs.srcDirs = [
|
||||
fileTree(dir: "libs", exclude: "**/libgnustl_shared.so")
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
flavorDimensions "version", "abi"
|
||||
|
@ -282,6 +287,12 @@ task buildOsmAndCore(type: Exec) {
|
|||
}
|
||||
task cleanupDuplicatesInCore(type: Delete) {
|
||||
dependsOn buildOsmAndCore
|
||||
// doesn't work for legacy debug builds
|
||||
// delete "libs/armeabi/libgnustl_shared.so"
|
||||
// delete "libs/armeabi-v7a/libgnustl_shared.so"
|
||||
// delete "libs/mips/libgnustl_shared.so"
|
||||
// delete "libs/x86/libgnustl_shared.so"
|
||||
|
||||
}
|
||||
tasks.withType(JavaCompile) {
|
||||
compileTask -> compileTask.dependsOn << [buildOsmAndCore, downloadAAR, cleanupDuplicatesInCore]
|
||||
|
|
Loading…
Reference in a new issue