From 4b9b5fc33736bdfb8dcd27d5225afda2743ec315 Mon Sep 17 00:00:00 2001 From: Norbert Kiesel Date: Fri, 24 May 2024 12:38:50 -0700 Subject: [PATCH] upgrade to Kotlin 2.0.0 --- build.gradle.kts | 14 +++++++------- gradle.properties | 1 - 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 030d2aa..c6664bb 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -3,13 +3,13 @@ import kotlin.io.path.createDirectories import kotlin.io.path.writeText plugins { - kotlin("jvm") version "1.9.23" - kotlin("plugin.serialization") version "1.9.23" + kotlin("jvm") version "2.0.0" + kotlin("plugin.serialization") version "2.0.0" application } group = "nkiesel.org" -version = "2.7.0" +version = "2.7.1" repositories { mavenCentral() @@ -18,13 +18,13 @@ repositories { dependencies { implementation("com.github.ajalt.clikt:clikt:4.3.0") implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.6.3") - implementation("org.http4k:http4k-core:5.16.2.0") - implementation("org.http4k:http4k-client-okhttp:5.16.1.0") - implementation("com.github.ajalt.mordant:mordant:2.5.0") + implementation("org.http4k:http4k-core:5.21.0.0") + implementation("org.http4k:http4k-client-okhttp:5.20.0.0") + implementation("com.github.ajalt.mordant:mordant:2.6.0") testImplementation("org.junit.jupiter:junit-jupiter-api:5.10.2") testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.10.2") - testImplementation("io.kotest:kotest-assertions-core:5.8.1") + testImplementation("io.kotest:kotest-assertions-core:5.9.0") } kotlin { diff --git a/gradle.properties b/gradle.properties index 021c9c7..5146d7a 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,4 +1,3 @@ kotlin.code.style=official kotlin.incremental.useClasspathSnapshot=true -kotlin.experimental.tryK2=true kotlin.jvm.target.validation.mode=ERROR