diff --git a/auto-launch/build.gradle.kts b/auto-launch/build.gradle.kts index 977edb1..9c5a8e3 100644 --- a/auto-launch/build.gradle.kts +++ b/auto-launch/build.gradle.kts @@ -5,7 +5,6 @@ plugins { kotlin { jvm() - jvmToolchain(17) sourceSets { commonMain.dependencies { diff --git a/sample/build.gradle.kts b/sample/build.gradle.kts index 55cba40..a799f6e 100644 --- a/sample/build.gradle.kts +++ b/sample/build.gradle.kts @@ -7,7 +7,6 @@ plugins { kotlin { jvm("desktop") - jvmToolchain(17) sourceSets { val desktopMain by getting diff --git a/sample/src/desktopMain/kotlin/Main.kt b/sample/src/desktopMain/kotlin/Main.kt index c119ffc..431cefb 100644 --- a/sample/src/desktopMain/kotlin/Main.kt +++ b/sample/src/desktopMain/kotlin/Main.kt @@ -2,6 +2,7 @@ import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.foundation.layout.padding +import androidx.compose.foundation.text.selection.SelectionContainer import androidx.compose.material3.Button import androidx.compose.material3.MaterialTheme import androidx.compose.material3.Text @@ -63,7 +64,10 @@ fun App() { color = MaterialTheme.colorScheme.error, ) } else { - Text(text = "App resolved executable path:", modifier = Modifier.padding(bottom = 2.dp)) + Text( + text = "App resolved executable path:", + modifier = Modifier.padding(bottom = 2.dp) + ) TextButton(onClick = { copyToClipboard(AutoLaunch.resolvedExecutable.path) }) { Text( text = AutoLaunch.resolvedExecutable.path,