mirror of
https://github.com/KokaKiwi/BarInsta
synced 2024-11-22 22:57:29 +00:00
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.
|
// Configures multiple APKs based on ABI.
|
||||||
abi {
|
abi {
|
||||||
// Enables building multiple APKs per 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
|
// By default all ABIs are included, so use reset() and include to specify that we only
|
||||||
// want APKs for x86 and x86_64.
|
// want APKs for x86 and x86_64.
|
||||||
|
Loading…
Reference in New Issue
Block a user