Build app bundle and universal apk

This commit is contained in:
moezbhatti
2019-07-26 19:37:13 -04:00
parent d57d644f90
commit 4681b03895
2 changed files with 3 additions and 24 deletions
-20
View File
@@ -65,15 +65,6 @@ android {
noAnalytics { dimension "analytics" }
}
splits {
abi {
enable true
reset()
include 'armeabi-v7a', 'arm64-v8a'
universalApk true
}
}
if (System.getenv("CI") == "true") {
signingConfigs.release.storeFile = file("../keystore")
signingConfigs.release.storePassword = System.getenv("keystore_password")
@@ -86,17 +77,6 @@ androidExtensions {
experimental = true
}
import com.android.build.OutputFile
// For each APK output variant, override versionCode with one that is unique
// https://developer.android.com/studio/build/gradle-tips.html#configure-dynamic-version-codes
android.applicationVariants.all { variant ->
variant.outputs.each { output ->
def baseAbiVersionCode = abiCodes.get(output.getFilter(OutputFile.ABI), 0)
output.versionCodeOverride = baseAbiVersionCode * 1000 + variant.versionCode
}
}
configurations {
noAnalyticsDebug
noAnalyticsRelease