This commit is contained in:
J. A. Messias 2024-10-08 14:11:37 -03:00
parent ea6c2226cb
commit 213c13def5
3 changed files with 13 additions and 5 deletions

View File

@ -57,12 +57,12 @@ android {
compileOptions { compileOptions {
coreLibraryDesugaringEnabled true coreLibraryDesugaringEnabled true
sourceCompatibility JavaVersion.VERSION_1_8 sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_11
} }
kotlinOptions { kotlinOptions {
jvmTarget = "1.8" jvmTarget = "11"
} }
signingConfigs { signingConfigs {

View File

@ -13,3 +13,7 @@
public static class *; public static class *;
} }
-keep public class * extends android.os.Binder { public static *; } -keep public class * extends android.os.Binder { public static *; }
# Keep rules to prevent R8 from removing necessary classes
-dontwarn com.google.j2objc.annotations.RetainedWith
-keep class com.google.j2objc.annotations.RetainedWith { *; }

View File

@ -13,3 +13,7 @@
public static class *; public static class *;
} }
-keep public class * extends android.os.Binder { public static *; } -keep public class * extends android.os.Binder { public static *; }
# Keep rules to prevent R8 from removing necessary classes
-dontwarn com.google.j2objc.annotations.RetainedWith
-keep class com.google.j2objc.annotations.RetainedWith { *; }