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:
parent
7ac752fac3
commit
28c01aea8e
|
@ -31,7 +31,6 @@ publish:
|
|||
- find -type d -name "siacs" -print0 | xargs --null -I{} bash -c 'x="{}"; mv "$x" "${x/siacs/sum7}" '
|
||||
- find -type f -name "*.java" -exec sed -i "/eu.siacs.conversations.axolotl/! s/eu.siacs./eu.sum7./" "{}" \;
|
||||
- find -type f -name "*.xml" -exec sed -i "/eu.siacs.conversations.axolotl/! s/eu.siacs./eu.sum7./" "{}" \;
|
||||
- sed -i "s/eu.siacs./eu.sum7./" "proguard-rules.pro"
|
||||
# workaround for bug in fdroid nightly
|
||||
- sed -i "s/-debug.apk/-unsigned.apk/" /usr/lib/python3/dist-packages/fdroidserver/nightly.py
|
||||
- sed -i "s/servergitmirror = 'git@' +/servergitmirror = 'gitlab@' +/" /usr/lib/python3/dist-packages/fdroidserver/nightly.py
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
-dontobfuscate
|
||||
|
||||
-keep class eu.siacs.conversations.**
|
||||
-keep class eu.sum7.conversations.**
|
||||
|
||||
-keep class org.whispersystems.**
|
||||
|
||||
|
|
Loading…
Reference in New Issue