Skip to content

Commit

Permalink
Re-enable proguard
Browse files Browse the repository at this point in the history
  • Loading branch information
Syer10 committed Sep 2, 2024
1 parent 6434800 commit 6118da7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 0 additions & 1 deletion desktop/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,6 @@ compose.desktop {
buildTypes.release.proguard {
version.set(libs.versions.proguard.get())
configurationFiles.from("proguard-rules.pro")
isEnabled = false
}

windows {
Expand Down
4 changes: 4 additions & 0 deletions desktop/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
# OKHTTP
-dontwarn org.codehaus.mojo.animal_sniffer.*
-dontwarn okhttp3.internal.platform.**
-keep class okio.** { *; }

# DarkLaf
# todo optimize more
Expand Down Expand Up @@ -77,3 +78,6 @@

# Skiko
-dontwarn org.jetbrains.skiko.**

# Compose
-keep class androidx.compose.runtime.** { *; }

0 comments on commit 6118da7

Please sign in to comment.