WeserPlaner 1.0.0 v.3: now using R8 minifier. Added appropriate ProGuard rules

This commit is contained in:
denizk0461
2023-05-07 11:17:32 +02:00
parent 4ad952f1ae
commit 603955b53b
6 changed files with 33 additions and 2 deletions
+6 -2
View File
@@ -12,7 +12,7 @@ android {
applicationId "com.denizk0461.weserplaner" applicationId "com.denizk0461.weserplaner"
minSdk 24 minSdk 24
targetSdk 33 targetSdk 33
versionCode 1 versionCode 3
versionName "1.0.0" versionName "1.0.0"
resourceConfigurations += ["en", "de"] resourceConfigurations += ["en", "de"]
@@ -24,9 +24,13 @@ android {
buildTypes { buildTypes {
release { release {
minifyEnabled false minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.debug signingConfig signingConfigs.debug
ndk {
debugSymbolLevel 'FULL'
}
} }
} }
compileOptions { compileOptions {
+7
View File
@@ -12,6 +12,13 @@
# public *; # public *;
#} #}
-keep class org.jsoup.**
-dontwarn javax.annotation.Nonnull
-dontwarn javax.annotation.Nullable
-dontwarn javax.annotation.ParametersAreNonnullByDefault
-dontwarn javax.annotation.WillClose
-dontwarn javax.annotation.meta.TypeQualifierDefault
# Uncomment this to preserve the line number information for # Uncomment this to preserve the line number information for
# debugging stack traces. # debugging stack traces.
#-keepattributes SourceFile,LineNumberTable #-keepattributes SourceFile,LineNumberTable
Binary file not shown.
Binary file not shown.
Binary file not shown.
+20
View File
@@ -0,0 +1,20 @@
{
"version": 3,
"artifactType": {
"type": "APK",
"kind": "Directory"
},
"applicationId": "com.denizk0461.weserplaner",
"variantName": "release",
"elements": [
{
"type": "SINGLE",
"filters": [],
"attributes": [],
"versionCode": 3,
"versionName": "1.0.0",
"outputFile": "app-release.apk"
}
],
"elementType": "File"
}