mirror of
https://github.com/jlengrand/compose-multiplatform.git
synced 2026-03-10 08:11:20 +00:00
Add proguard configuration to tutorial (#1786)
This commit is contained in:
@@ -610,3 +610,19 @@ tasks.register<ProGuardTask>("obfuscate") {
|
||||
configuration("proguard-rules.pro")
|
||||
}
|
||||
```
|
||||
|
||||
This ProGuard configuration should get you started:
|
||||
|
||||
```
|
||||
# proguard-rules.pro
|
||||
-dontoptimize
|
||||
-dontobfuscate
|
||||
|
||||
-dontwarn kotlinx.**
|
||||
|
||||
-keepclasseswithmembers public class com.example.MainKt {
|
||||
public static void main(java.lang.String[]);
|
||||
}
|
||||
-keep class org.jetbrains.skia.** { *; }
|
||||
-keep class org.jetbrains.skiko.** { *; }
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user