1
0
mirror of https://github.com/KokaKiwi/BarInsta synced 2024-11-22 14:47:29 +00:00

Fix multiple apk build not triggered

This commit is contained in:
Ammar Githam 2021-05-10 00:21:59 +09:00
parent 437a123f5c
commit 870eac1b6a

View File

@ -86,7 +86,7 @@ android {
// Configures multiple APKs based on ABI.
abi {
// Enables building multiple APKs per ABI.
enable !project.hasProperty("noAbiSplits") && gradle.startParameter.taskNames.contains("Release")
enable !project.hasProperty("noAbiSplits") && !gradle.startParameter.taskNames.isEmpty() && gradle.startParameter.taskNames.get(0).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.