Browse Source

chore: set property minimizeKotlinStandardLibrary of AbstractProguardTask from the ProguardSettings

pull/4948/head
Ellet 7 months ago
parent
commit
b2460ad2e3
  1. 1
      gradle-plugins/compose/src/main/kotlin/org/jetbrains/compose/desktop/application/internal/configureJvmApplication.kt

1
gradle-plugins/compose/src/main/kotlin/org/jetbrains/compose/desktop/application/internal/configureJvmApplication.kt

@ -267,6 +267,7 @@ private fun JvmApplicationContext.configureProguardTask(
dontoptimize.set(settings.optimize.map { !it }) dontoptimize.set(settings.optimize.map { !it })
joinOutputJars.set(settings.joinOutputJars) joinOutputJars.set(settings.joinOutputJars)
minimizeKotlinStandardLibrary.set(settings.minimizeKotlinStandardLibrary)
dependsOn(unpackDefaultResources) dependsOn(unpackDefaultResources)
defaultComposeRulesFile.set(unpackDefaultResources.flatMap { it.resources.defaultComposeProguardRules }) defaultComposeRulesFile.set(unpackDefaultResources.flatMap { it.resources.defaultComposeProguardRules })

Loading…
Cancel
Save