build.gradle: update to f-droid version with targetSdk 25

We go back to targetSdk 25 so users can disable
 the foreground service (and annoying notification) if they choose
This commit is contained in:
Martin/Geno 2019-05-09 17:44:34 +02:00
parent 7ac752fac3
commit 9edf295f14
No known key found for this signature in database
GPG Key ID: 9D7D3C6BFF600C6A
2 changed files with 3 additions and 8 deletions

View File

@ -80,7 +80,7 @@ android {
defaultConfig {
minSdkVersion 16
targetSdkVersion 28
targetSdkVersion 25
versionCode 327
versionName "2.5.1"
archivesBaseName += "-$versionName"
@ -123,19 +123,15 @@ android {
playstore {
dimension "distribution"
versionNameSuffix "+p"
}
free {
dimension "distribution"
versionNameSuffix "+f"
}
system {
dimension "emoji"
versionNameSuffix "s"
}
compat {
dimension "emoji"
versionNameSuffix "c"
}
}
@ -185,13 +181,11 @@ android {
shrinkResources true
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
versionNameSuffix "r"
}
debug {
shrinkResources true
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
versionNameSuffix "d"
}
}
@ -214,6 +208,7 @@ android {
lintOptions {
disable 'ExtraTranslation', 'MissingTranslation', 'InvalidPackage', 'MissingQuantity', 'AppCompatResource'
abortOnError false
}
subprojects {

2
proguard-rules.pro vendored
View File

@ -1,6 +1,6 @@
-dontobfuscate
-keep class eu.siacs.conversations.**
-keep class eu.sum7.conversations.**
-keep class org.whispersystems.**