build: split on release only

This commit is contained in:
NoCrypt 2024-08-03 20:00:35 +07:00
parent 9d69e2fa49
commit 2aa6d5b545

View file

@ -35,7 +35,7 @@ android {
}
splits {
abi {
enable true
enable gradle.startParameter.taskNames.any { it.contains("Release") } // https://stackoverflow.com/a/39950584
reset()
include "armeabi-v7a", "arm64-v8a", "x86_64"
universalApk true