Enable splits only if it is a release build and skip if 'noAbiSplits' is passed as project prop
This commit is contained in:
parent
b6b27681f0
commit
04879819c5
@ -80,7 +80,7 @@ android {
|
||||
// Configures multiple APKs based on ABI.
|
||||
abi {
|
||||
// Enables building multiple APKs per ABI.
|
||||
enable true
|
||||
enable !project.hasProperty("noAbiSplits") && gradle.startParameter.taskNames.contains("Release")
|
||||
|
||||
// By default all ABIs are included, so use reset() and include to specify that we only
|
||||
// want APKs for x86 and x86_64.
|
||||
|
Loading…
Reference in New Issue
Block a user