From 6acd4e1907478c49cc4e3db640200f926933b15d Mon Sep 17 00:00:00 2001 From: Marcin Kuszczak <1508798+aartiPl@users.noreply.github.com> Date: Sat, 22 Jul 2023 14:23:59 +0200 Subject: [PATCH] Kscript 4.2.3 (#410) Compatibility with Kotlin 1.9.x --------- Signed-off-by: Marcin Kuszczak <1508798+aartiPl@users.noreply.github.com> --- .github/workflows/build.yml | 2 +- NEWS.adoc | 6 +++++ build.gradle.kts | 2 +- .../kscripting/kscript/code/Templates.kt | 24 +++++++++---------- .../kscript/creator/JarArtifactCreator.kt | 14 +++++++++-- .../kscript/resolver/ScriptResolverTest.kt | 2 +- 6 files changed, 33 insertions(+), 17 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7e3d9bb4..23d15a54 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -42,7 +42,7 @@ jobs: version: 1.7.21 - name: Setup Gradle - uses: gradle/gradle-build-action@v2 + uses: gradle/gradle-build-action@v2.4.2 with: gradle-version: 8.0.2 diff --git a/NEWS.adoc b/NEWS.adoc index 09148c36..fd0c1373 100644 --- a/NEWS.adoc +++ b/NEWS.adoc @@ -1,5 +1,11 @@ = Changes +== [4.2.3] - 2023-07-22 + +=== Fixed + +* Compatibility with Kotlin 1.9.0 + == [4.2.2] - 2023-04-29 === Added diff --git a/build.gradle.kts b/build.gradle.kts index aaf0720f..91893b3c 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -27,7 +27,7 @@ repositories { } group = "io.github.kscripting" -version = "4.2.2" +version = "4.2.3" buildConfig { packageName(project.group.toString() + "." + project.name) diff --git a/src/main/kotlin/io/github/kscripting/kscript/code/Templates.kt b/src/main/kotlin/io/github/kscripting/kscript/code/Templates.kt index b5c90287..d64cfbea 100644 --- a/src/main/kotlin/io/github/kscripting/kscript/code/Templates.kt +++ b/src/main/kotlin/io/github/kscripting/kscript/code/Templates.kt @@ -104,24 +104,24 @@ object Templates { fun createUsageInfo(selfName: String) = - """|Usage: - | $selfName [options]