fix(build-logic): do not set ABI filters to projects with ABI split APKs

This commit is contained in:
Akash Yadav
2023-11-13 19:49:49 +05:30
parent 16d58786d6
commit 8f6d41982a
@@ -47,11 +47,6 @@ fun Project.configureAndroidModule(
multiDexEnabled = true
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
ndk {
abiFilters.clear()
abiFilters += arrayOf("armeabi-v7a", "arm64-v8a")
}
}
compileOptions {
@@ -74,6 +69,13 @@ fun Project.configureAndroidModule(
"\"${name}\"")
}
}
} else {
defaultConfig {
ndk {
abiFilters.clear()
abiFilters += arrayOf("armeabi-v7a", "arm64-v8a")
}
}
}
// configure split APKs for ':app' module only