Browse Source

Enable splits only if it is a release build and skip if 'noAbiSplits' is passed as project prop

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

2
app/build.gradle

@ -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…
Cancel
Save