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
8
8
import org.jetbrains.compose.ExperimentalComposeLibrary
9
9
import org.jetbrains.compose.desktop.application.dsl.TargetFormat.*
10
10
import org.jetbrains.compose.desktop.application.tasks.AbstractJPackageTask
11
+ import org.jetbrains.kotlin.compose.compiler.gradle.ComposeFeatureFlag
11
12
12
13
plugins {
13
14
dev.suresh.plugin.kotlin.mpp
14
- dev.suresh.plugin.publishing
15
15
alias(libs.plugins.kotlin.compose.compiler)
16
16
alias(libs.plugins.jetbrains.compose)
17
- // alias(libs.plugins.jetbrains.compose.hotreload)
17
+ alias(libs.plugins.jetbrains.compose.hotreload)
18
18
// alias(libs.plugins.detekt)
19
+ dev.suresh.plugin.publishing
19
20
}
20
21
21
22
description = " Compose Desktop App!"
@@ -60,7 +61,10 @@ kotlin {
60
61
}
61
62
}
62
63
63
- composeCompiler { reportsDestination = layout.buildDirectory.dir(" compose_compiler" ) }
64
+ composeCompiler {
65
+ reportsDestination = layout.buildDirectory.dir(" compose_compiler" )
66
+ featureFlags.add(ComposeFeatureFlag .OptimizeNonSkippingGroups )
67
+ }
64
68
65
69
compose {
66
70
desktop {
Original file line number Diff line number Diff line change @@ -27,9 +27,11 @@ fun main() = application {
27
27
width = 800 .dp, height = 600 .dp, position = WindowPosition (Alignment .Center ))
28
28
29
29
Window (title = resource, state = windowState, onCloseRequest = ::exitApplication) {
30
+ // DevelopmentEntryPoint {
30
31
window.minimumSize = Dimension (350 , 600 )
31
32
App ()
32
33
showStartupTime()
34
+ // }
33
35
}
34
36
}
35
37
}
You can’t perform that action at this time.
0 commit comments