ci/templates/desktop-template/src/main/kotlin/main.kt [13:29]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @Composable @Preview fun App() { var text by remember { mutableStateOf("Hello, World!") } MaterialTheme { Button(onClick = { text = "Hello, Desktop!" }) { Text(text) } } } fun main() = application { Window(onCloseRequest = ::exitApplication) { App() - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - experimental/build_from_cli/src/main/kotlin/main.kt [13:29]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @Composable @Preview fun App() { var text by remember { mutableStateOf("Hello, World!") } MaterialTheme { Button(onClick = { text = "Hello, Desktop!" }) { Text(text) } } } fun main() = application { Window(onCloseRequest = ::exitApplication) { App() - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -