martmists
12/15/2022, 5:35 PM-dontwarn
option to proguard?
edit: It seems someone reacted with "Not Kotlin", but this is quite literally from the Compose plugin. There's no proguard.gradle.ProGuardTask
as the proguard docs would suggest, and the compose docs also don't mention how to customize it.James Hamilton
12/16/2022, 1:12 PM-dontwarn
in the ProGuard rules file, which is specified with the buildTypes.release.proguard
block: see the example here https://github.com/JetBrains/compose-jb/blob/master/gradle-plugins/compose/src/test/test-projects/application/proguard/build.gradle#LL31C8-L31C8
https://github.com/JetBrains/compose-jb/blob/master/gradle-plugins/compose/src/test/test-projects/application/proguard/rules.pro