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:
2026-10-11 18:48:59 +00:00
co-authored by Claude Opus 5.5
parent 959f7ed97a
commit c2090d8122
+4
View File
@@ -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>(); }