diff --git a/input-sample/build.gradle.kts b/input-sample/build.gradle.kts index cbf3af9be..8187a1c92 100644 --- a/input-sample/build.gradle.kts +++ b/input-sample/build.gradle.kts @@ -17,6 +17,7 @@ application { tasks.getByName("run", JavaExec::class).standardInput = System.`in` kotlin { + jvmToolchain(17) jvm { withJava() testRuns["test"].executionTask.configure { diff --git a/player-sample/build.gradle.kts b/player-sample/build.gradle.kts index c39982ef1..58014e8c1 100644 --- a/player-sample/build.gradle.kts +++ b/player-sample/build.gradle.kts @@ -18,6 +18,7 @@ application { tasks.getByName("run", JavaExec::class).standardInput = System.`in` kotlin { + jvmToolchain(17) jvm { withJava() testRuns["test"].executionTask.configure {