reenable proguard
Some checks are pending
Android CI / build (push) Waiting to run

This commit is contained in:
Josia Pietsch 2025-02-10 21:57:34 +01:00
parent 9c5500aa83
commit 757486771d
Signed by: jrpie
GPG key ID: E70B571D66986A2D
3 changed files with 13 additions and 3 deletions

View file

@ -9,7 +9,14 @@ KEYSTORE_ACCRESCENT_PASS=$(keepassxc-password "android_keys/launcher-accrescent"
if [[ $(git status --porcelain) ]]; then if [[ $(git status --porcelain) ]]; then
echo "There are uncommitted changes." echo "There are uncommitted changes."
exit 1
read -p "Continue anyway? (y/n) " -n 1 -r
echo # (optional) move to a new line
if ! [[ $REPLY =~ ^[Yy]$ ]]
then
exit 1
fi
fi fi
rm -rf "$OUTPUT_DIR" rm -rf "$OUTPUT_DIR"

View file

@ -43,8 +43,8 @@ android {
buildTypes { buildTypes {
release { release {
// minifyEnabled true minifyEnabled true
// proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
} }
debug { debug {
applicationIdSuffix = ".debug" applicationIdSuffix = ".debug"

View file

@ -1,4 +1,6 @@
# Add project specific ProGuard rules here. # Add project specific ProGuard rules here.
-dontobfuscate
-dontoptimize
# You can control the set of applied configuration files using the # You can control the set of applied configuration files using the
# proguardFiles setting in build.gradle. # proguardFiles setting in build.gradle.
# #
@ -25,3 +27,4 @@
# This is generated automatically by the Android Gradle plugin. # This is generated automatically by the Android Gradle plugin.
-dontwarn javax.annotation.processing.AbstractProcessor -dontwarn javax.annotation.processing.AbstractProcessor
-dontwarn javax.annotation.processing.SupportedAnnotationTypes -dontwarn javax.annotation.processing.SupportedAnnotationTypes
-dontwarn javax.annotation.processing.SupportedSourceVersion