I am using minifyEnabled true
in build.gradle (for obfuscation and size reduction purposes).
I have these proguard-rules.pro:
-keep class com.some3rdpartylibrary.** { *; } // otherwise it crashes
# repack obfuscated classes into single package so it would be hard to find their original package
-repackageclasses ''
-allowaccessmodification // this one is causing run-time crash in the 3rd party library
How can I tell proguard/R8 to dontallowaccessmodification
just for com.some3rdpartylibrary.**
?