Do not build other ABIs in debug
This commit is contained in:
1 parent
7fef84a006
commit
2ba39a9b80
1 file changed
+6
-2
@@ -20,8 +20,12 @@ android {
|
||||
abi {
|
||||
isEnable = true
|
||||
reset()
|
||||
include("arm64-v8a", "x86_64", "armeabi-v7a", "x86")
|
||||
isUniversalApk = true
|
||||
if (gradle.startParameter.taskNames.any { it.contains("Release") }) {
|
||||
include("arm64-v8a", "x86_64", "armeabi-v7a", "x86")
|
||||
isUniversalApk = true
|
||||
} else {
|
||||
include("arm64-v8a")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user