[DESKTOP] Disable proguard

This commit is contained in:
Kamil Gurgul
2024-08-10 20:29:11 +02:00
parent c018363dfa
commit 74b250ccda
2 changed files with 11 additions and 0 deletions
+5
View File
@@ -38,5 +38,10 @@ compose.desktop {
iconFile.set(iconsRoot.resolve("icon-linux.png"))
}
}
buildTypes.release.proguard {
isEnabled = false
configurationFiles.from("rules.pro")
}
}
}
+6
View File
@@ -0,0 +1,6 @@
-keep class kotlinx.coroutines.** { *; }
-dontwarn kotlinx.atomicfu.**
-dontwarn org.slf4j.**
# Obfuscation breaks coroutines/ktor for some reason
-dontobfuscate