From b2460ad2e30846f88dc41651c20158c1f2a0ef90 Mon Sep 17 00:00:00 2001 From: Ellet Date: Sat, 8 Jun 2024 09:48:07 +0300 Subject: [PATCH] chore: set property minimizeKotlinStandardLibrary of AbstractProguardTask from the ProguardSettings --- .../desktop/application/internal/configureJvmApplication.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/gradle-plugins/compose/src/main/kotlin/org/jetbrains/compose/desktop/application/internal/configureJvmApplication.kt b/gradle-plugins/compose/src/main/kotlin/org/jetbrains/compose/desktop/application/internal/configureJvmApplication.kt index d53ad3dd62..722f548b18 100644 --- a/gradle-plugins/compose/src/main/kotlin/org/jetbrains/compose/desktop/application/internal/configureJvmApplication.kt +++ b/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 }) joinOutputJars.set(settings.joinOutputJars) + minimizeKotlinStandardLibrary.set(settings.minimizeKotlinStandardLibrary) dependsOn(unpackDefaultResources) defaultComposeRulesFile.set(unpackDefaultResources.flatMap { it.resources.defaultComposeProguardRules })