mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
add gplay flavour, tackles #697
This commit is contained in:
+8
-6
@@ -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 ->
|
||||
|
||||
Reference in New Issue
Block a user