File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed
Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -8,14 +8,15 @@ import kotlin.io.path.listDirectoryEntries
88import org.jetbrains.compose.ExperimentalComposeLibrary
99import org.jetbrains.compose.desktop.application.dsl.TargetFormat.*
1010import org.jetbrains.compose.desktop.application.tasks.AbstractJPackageTask
11+ import org.jetbrains.kotlin.compose.compiler.gradle.ComposeFeatureFlag
1112
1213plugins {
1314 dev.suresh.plugin.kotlin.mpp
14- dev.suresh.plugin.publishing
1515 alias(libs.plugins.kotlin.compose.compiler)
1616 alias(libs.plugins.jetbrains.compose)
17- // alias(libs.plugins.jetbrains.compose.hotreload)
17+ alias(libs.plugins.jetbrains.compose.hotreload)
1818 // alias(libs.plugins.detekt)
19+ dev.suresh.plugin.publishing
1920}
2021
2122description = " Compose Desktop App!"
@@ -60,7 +61,10 @@ kotlin {
6061 }
6162}
6263
63- composeCompiler { reportsDestination = layout.buildDirectory.dir(" compose_compiler" ) }
64+ composeCompiler {
65+ reportsDestination = layout.buildDirectory.dir(" compose_compiler" )
66+ featureFlags.add(ComposeFeatureFlag .OptimizeNonSkippingGroups )
67+ }
6468
6569compose {
6670 desktop {
Original file line number Diff line number Diff line change @@ -27,9 +27,11 @@ fun main() = application {
2727 width = 800 .dp, height = 600 .dp, position = WindowPosition (Alignment .Center ))
2828
2929 Window (title = resource, state = windowState, onCloseRequest = ::exitApplication) {
30+ // DevelopmentEntryPoint {
3031 window.minimumSize = Dimension (350 , 600 )
3132 App ()
3233 showStartupTime()
34+ // }
3335 }
3436 }
3537}
You can’t perform that action at this time.
0 commit comments