Switch R8 to full mode

This commit is contained in:
José Rebelo 2024-07-02 12:12:00 +01:00
parent 79de641fe8
commit f23de4c4c5
2 changed files with 2 additions and 3 deletions

View File

@ -84,3 +84,5 @@
# Keep generated protobuf classes
-keep class nodomain.freeyourgadget.gadgetbridge.proto.** { *; }
# https://github.com/protocolbuffers/protobuf/blob/main/java/lite.md#r8-rule-to-make-production-app-builds-work
-keep class * extends com.google.protobuf.GeneratedMessageLite { *; }

View File

@ -19,6 +19,3 @@ org.gradle.jvmargs=-Xmx2048m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF
# org.gradle.parallel=true
android.useAndroidX=true
android.enableJetifier=true
# FIXME: This optimizes away some classes it should not - see #3853
android.enableR8.fullMode=false