Keep ini4j's reflectively created constructors in release builds
R8 stripped IniParser's no-arg constructor, which ini4j's ServiceFinder instantiates by reflection, so reading identities (myTeamSpeak login, import) crashed the release build. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Vendored
+4
@@ -8,3 +8,7 @@
|
|||||||
|
|
||||||
# ts3j builds protocol handlers and packet bodies reflectively.
|
# ts3j builds protocol handlers and packet bodies reflectively.
|
||||||
-keep class com.github.manevolent.ts3j.** { *; }
|
-keep class com.github.manevolent.ts3j.** { *; }
|
||||||
|
|
||||||
|
# ini4j (identity .ini files) instantiates its parsers, builders, formatters
|
||||||
|
# and escape tools through ServiceFinder, by reflection.
|
||||||
|
-keepclassmembers class org.ini4j.spi.** { <init>(); }
|
||||||
|
|||||||
Reference in New Issue
Block a user