<How to keep package-level kotlin functions in pro...
# stackoverflow
u
How to keep package-level kotlin functions in proguard? I declared a package-level function as utility in my library and I want to use it in my main app. My issue is that I am not able to keep it from code obfuscation using proguard (and consequently use it in my main app). My file it.blabla.util.Extensions.kt fun foo(context: Context, action: String) { ... } I already tried to keep it in proguard using: -keep class it.blablabla.util.UtilPackage.** { *; } or -keep class it.blablabla.util.** { *; } but none of these is working. In my...