Created
November 2, 2015 21:41
-
-
Save mandrachek/0a47a0d1e48aee860d6c to your computer and use it in GitHub Desktop.
dynamic ext.betaDistributionApkFilePath
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
android { | |
splits { | |
abi { | |
enable true | |
reset() | |
include 'x86', 'armeabi', 'armeabi-v7a', 'mips', 'arm64-v8a' | |
universalApk true | |
} | |
} | |
} | |
android.applicationVariants.all { variant -> | |
ext.betaDistributionApkFilePath = "${buildDir}/outputs/apk/app-${variant.name}-universal-${variant.buildType.name}.apk" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This worked for me... put it outside of the android {} block in the main app's build.gradle: