From aac8cbc12f0992e25e570bcdcdb1e9f13ef27517 Mon Sep 17 00:00:00 2001 From: Vincent Guillebaud Date: Wed, 16 Oct 2024 19:36:08 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A5=20Remove=20JVM=20toolchain?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- auto-launch/build.gradle.kts | 1 - sample/build.gradle.kts | 1 - sample/src/desktopMain/kotlin/Main.kt | 6 +++++- 3 files changed, 5 insertions(+), 3 deletions(-) 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,