mirror of
https://github.com/Darkrock-Studios/hammer-editor.git
synced 2026-10-19 09:34:23 +00:00
Fix obfuscation crashes
This commit is contained in:
parent
75cd79d8a2
commit
91ad3374fe
2 changed files with 11 additions and 2 deletions
5
.gitignore
vendored
5
.gitignore
vendored
|
|
@ -54,4 +54,7 @@ wix311/
|
|||
play_config.json
|
||||
fastlane/report.xml
|
||||
fastlane/README.md
|
||||
.kotlin
|
||||
.kotlin
|
||||
|
||||
# Release artifacts
|
||||
/android/release/
|
||||
|
|
|
|||
8
android/proguard-rules.pro
vendored
8
android/proguard-rules.pro
vendored
|
|
@ -1,5 +1,7 @@
|
|||
-dontobfuscate
|
||||
|
||||
-keep class io.github.aakira.napier.** { *; }
|
||||
|
||||
# Keep `Companion` object fields of serializable classes.
|
||||
# This avoids serializer lookup through `getDeclaredClasses` as done for named companion objects.
|
||||
-if @kotlinx.serialization.Serializable class **
|
||||
|
|
@ -27,7 +29,11 @@
|
|||
# @Serializable and @Polymorphic are used at runtime for polymorphic serialization.
|
||||
-keepattributes RuntimeVisibleAnnotations,AnnotationDefault
|
||||
|
||||
-dontwarn org.slf4j.impl.StaticLoggerBinder
|
||||
-dontwarn org.slf4j.**
|
||||
-assumenosideeffects class org.slf4j.Logger {
|
||||
public void trace(...);
|
||||
public void debug(...);
|
||||
}
|
||||
|
||||
# Serializer for classes with named companion objects are retrieved using `getDeclaredClasses`.
|
||||
# If you have any, uncomment and replace classes with those containing named companion objects.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue