Skip to content

Commit

Permalink
Fix ini4j classes being removed in release builds
Browse files Browse the repository at this point in the history
Fixes #74
  • Loading branch information
mathiascode committed Mar 22, 2024
1 parent af092b5 commit 56ffa0d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ android {
minifyEnabled true
shrinkResources true
proguardFiles getDefaultProguardFile(
'proguard-android-optimize.txt')
'proguard-android-optimize.txt'),
'proguard-rules.pro'
}
}
compileOptions {
Expand Down
5 changes: 5 additions & 0 deletions app/proguard-rules.pro
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
-dontobfuscate

-keep class org.ini4j.spi.IniBuilder
-keep class org.ini4j.spi.IniFormatter
-keep class org.ini4j.spi.IniParser

0 comments on commit 56ffa0d

Please sign in to comment.