zt
04/07/2023, 6:42 PM#!/usr/bin/env -S kotlinc -script -language-version 2.0 -Xplugin=/home/nick/.local/share/gradle/caches/modules-2/files-2.1/org.jetbrains.compose/compose-gradle-plugin/1.4.0-rc03/7216fdad9334b0b609fc67a36ba6416a7253cea4/compose-gradle-plugin-1.4.0-rc03.jar --
@file:Repository("<https://maven.google.com>")
@file:Repository("<https://maven.pkg.jetbrains.space/public/p/compose/dev>")
@file:Repository("<https://repo.maven.apache.org/maven2>")
@file:DependsOn("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4")
@file:DependsOn("org.jetbrains.compose.runtime:runtime-desktop:1.4.0-rc03")
@file:DependsOn("org.jetbrains.compose.desktop:desktop-jvm:1.4.0-rc03")
@file:DependsOn("org.jetbrains.compose.material:material-desktop:1.4.0-rc03")
//runBlocking {
// application {
// Window(onCloseRequest = ::exitApplication) {
// Text("Hello world!")
// }
// }
//}Adam S
04/07/2023, 7:30 PM-jvm suffix to most of those dependencies. Scripting is JVM only, and because it’s not using Gradle to resolve the dependencies you need to be explicit about the required multiplatform variantzt
04/07/2023, 7:49 PM-language-version 2.0Ivan Kubyshkin [JetBrains]
04/08/2023, 8:32 PMzt
04/08/2023, 8:36 PM