1
0
mirror of https://github.com/KokaKiwi/BarInsta synced 2024-12-23 13:26:59 +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:
Ammar Githam 2021-04-04 02:29:43 +09:00
parent b6b27681f0
commit 04879819c5

View File

@ -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.