Do not build other ABIs in debug

This commit is contained in:
FooIbar authored and tarsin committed 2023-03-01 09:57:55 +08:00
1 parent 7fef84a006
commit 2ba39a9b80
1 file changed
+6 -2
+6 -2
View File
@@ -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")
}
}
}