chore: Configure ABI splits and universal APK for release

This commit is contained in:
LZX committed 2026-10-19 22:33:06 +08:00
1 parent 4e77cfa372
commit 6dabe7c26a
1 file changed
+10 -1
+10 -1
View File
@@ -22,9 +22,18 @@ android {
versionName = "1.0.0" versionName = "1.0.0"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
} }
splits {
abi {
isEnable = true
reset()
include("armeabi-v7a", "arm64-v8a", "x86", "x86_64")
isUniversalApk = true
}
}
signingConfigs { signingConfigs {
create("release") { create("release") {
val keystorePropsFile = rootProject.file("keystore.properties") val keystorePropsFile = rootProject.file("keystore.properties")