Browse Source

Fix multiple apk build not triggered

renovate/org.robolectric-robolectric-4.x
Ammar Githam 4 years ago
parent
commit
870eac1b6a
  1. 2
      app/build.gradle

2
app/build.gradle

@ -86,7 +86,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 !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 // 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…
Cancel
Save