Ahmed Mourad
09/27/2025, 5:23 PMAhmed Mourad
09/27/2025, 5:24 PM-dontshrink
-keep class kotlin.Metadata { *; }
-keepattributes *Annotation*, InnerClasses, Signature, EnclosingMethod, SourceFile, LineNumberTable, MethodParameters
-keep public class my.package.** {
public *;
}Ahmed Mourad
09/27/2025, 5:25 PMephemient
09/27/2025, 6:12 PM*.kotlin_module filesephemient
09/27/2025, 6:16 PMAhmed Mourad
09/28/2025, 11:37 AMthat sounds like you're not packaging theI definitely don't see it in the output AAR so that might be it, i'm not sure why it's being removed though or do i need to manually include it?files*.kotlin_module
if you're trying to hide something, it'll still be visible (with a little bytecode inspection or by looking at the other multiplatform artifacts)I'm mainly interested in obfuscating the private / internal implementations of the library, what would be the best solution for this?