Skip to content

Commit

Permalink
🔥 Remove JVM toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
vinceglb committed Oct 16, 2024
1 parent c3a5196 commit aac8cbc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 0 additions & 1 deletion auto-launch/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ plugins {

kotlin {
jvm()
jvmToolchain(17)

sourceSets {
commonMain.dependencies {
Expand Down
1 change: 0 additions & 1 deletion sample/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ plugins {

kotlin {
jvm("desktop")
jvmToolchain(17)

sourceSets {
val desktopMain by getting
Expand Down
6 changes: 5 additions & 1 deletion sample/src/desktopMain/kotlin/Main.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit aac8cbc

Please sign in to comment.