add gplay flavour, tackles #697

This commit is contained in:
B. Petersen
2019-02-12 13:18:33 +01:00
parent 195437d8d2
commit 7797f9b8a6
+8 -6
View File
@@ -146,15 +146,15 @@ android {
versionCode 537
versionName "0.100.0"
// the full, used applicationId is `com.b44t.messenger.beta` for historical reasons.
// the following is mainly to satisfy f-droid that does not parse for the suffix on checks.
applicationId "com.b44t.messenger"
minSdkVersion 14
targetSdkVersion 26
vectorDrawables.useSupportLibrary = true
project.ext.set("archivesBaseName", "Deltachat");
// base name of the generated apk
project.ext.set("archivesBaseName", "deltachat");
buildConfigField "boolean", "DEV_BUILD", "false"
@@ -188,8 +188,7 @@ android {
}
}
release {
// TODO: add a key for release versions, needed esp. for Google Play
// see https://github.com/deltachat/deltachat-android/issues/651
// can be defined at `~/.gradle/gradle.properties` or at "Build/Generate signed APK"
if(project.hasProperty("DC_RELEASE_STORE_FILE")) {
storeFile file(DC_RELEASE_STORE_FILE)
storePassword DC_RELEASE_STORE_PASSWORD
@@ -221,7 +220,6 @@ android {
minifyEnabled true
proguardFiles = buildTypes.debug.proguardFiles
signingConfig signingConfigs.release
applicationIdSuffix ".beta"
}
}
@@ -229,6 +227,10 @@ android {
fat {
dimension "none"
}
gplay {
dimension "none"
applicationId "chat.delta"
}
}
android.applicationVariants.all { variant ->