From 8c805bd7253cd1f40eea435ecb4f9cd5139207fe Mon Sep 17 00:00:00 2001 From: Romain Guy Date: Thu, 5 Sep 2024 14:39:28 -0700 Subject: [PATCH] Update to Kotlin 2.0.20 and CfD 1.7 --- gradle/libs.versions.toml | 4 ++-- .../kotlin/dev/romainguy/kotlin/explorer/testing/Builder.kt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index c64ab68a..9b405b13 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,10 +1,10 @@ [versions] collection = "1.4.3" -compose = "1.6.11" +compose = "1.7.0-beta01" jewel = "0.23.1" jna = "5.14.0" junit4 = "4.13.2" -kotlin = "2.0.0" +kotlin = "2.0.20" lifecycle = "2.8.0" rstaui = "3.3.1" rsyntaxtextarea="3.4.0" diff --git a/src/jvmTest/kotlin/dev/romainguy/kotlin/explorer/testing/Builder.kt b/src/jvmTest/kotlin/dev/romainguy/kotlin/explorer/testing/Builder.kt index a4614515..c77879cb 100644 --- a/src/jvmTest/kotlin/dev/romainguy/kotlin/explorer/testing/Builder.kt +++ b/src/jvmTest/kotlin/dev/romainguy/kotlin/explorer/testing/Builder.kt @@ -82,7 +82,7 @@ class LocalBuilder(private val outputDirectory: Path) : Builder { } private suspend fun kotlinCompile(path: Path) { - val result = kotlinCompiler.compile(compilerFlags, path) + val result = kotlinCompiler.compile("", path) if (result.exitCode != 0) { System.err.println(result.output) fail("kotlinc error")