mirror of
https://github.com/quik-sms/quik.git
synced 2026-11-20 12:48:53 +01:00
Build app bundle and universal apk
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user