diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index d7c2f0faaa..cb17267dc3 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,5 +1,5 @@ [versions] -kotlinVersion = "1.9.22" +kotlinVersion = "1.9.23" jUnitVersion = "5.10.2" [libraries] diff --git a/samples/starter-projects/konsist-starter-android-gradle-groovy-junit-4/build.gradle b/samples/starter-projects/konsist-starter-android-gradle-groovy-junit-4/build.gradle index 462fb8a2a9..944dc9cc8d 100644 --- a/samples/starter-projects/konsist-starter-android-gradle-groovy-junit-4/build.gradle +++ b/samples/starter-projects/konsist-starter-android-gradle-groovy-junit-4/build.gradle @@ -2,5 +2,5 @@ plugins { id 'com.android.application' version '8.2.2' apply false id 'com.android.library' version '8.2.2' apply false - id 'org.jetbrains.kotlin.android' version '1.9.22' apply false + id 'org.jetbrains.kotlin.android' version '1.9.23' apply false } diff --git a/samples/starter-projects/konsist-starter-android-gradle-groovy-junit-5/build.gradle b/samples/starter-projects/konsist-starter-android-gradle-groovy-junit-5/build.gradle index 462fb8a2a9..944dc9cc8d 100644 --- a/samples/starter-projects/konsist-starter-android-gradle-groovy-junit-5/build.gradle +++ b/samples/starter-projects/konsist-starter-android-gradle-groovy-junit-5/build.gradle @@ -2,5 +2,5 @@ plugins { id 'com.android.application' version '8.2.2' apply false id 'com.android.library' version '8.2.2' apply false - id 'org.jetbrains.kotlin.android' version '1.9.22' apply false + id 'org.jetbrains.kotlin.android' version '1.9.23' apply false } diff --git a/samples/starter-projects/konsist-starter-android-gradle-groovy-kotest/build.gradle b/samples/starter-projects/konsist-starter-android-gradle-groovy-kotest/build.gradle index 462fb8a2a9..944dc9cc8d 100644 --- a/samples/starter-projects/konsist-starter-android-gradle-groovy-kotest/build.gradle +++ b/samples/starter-projects/konsist-starter-android-gradle-groovy-kotest/build.gradle @@ -2,5 +2,5 @@ plugins { id 'com.android.application' version '8.2.2' apply false id 'com.android.library' version '8.2.2' apply false - id 'org.jetbrains.kotlin.android' version '1.9.22' apply false + id 'org.jetbrains.kotlin.android' version '1.9.23' apply false } diff --git a/samples/starter-projects/konsist-starter-android-gradle-kotlin-junit-4/build.gradle.kts b/samples/starter-projects/konsist-starter-android-gradle-kotlin-junit-4/build.gradle.kts index d520e600c3..b45fb3494f 100644 --- a/samples/starter-projects/konsist-starter-android-gradle-kotlin-junit-4/build.gradle.kts +++ b/samples/starter-projects/konsist-starter-android-gradle-kotlin-junit-4/build.gradle.kts @@ -2,5 +2,5 @@ plugins { id("com.android.application") version "8.2.2" apply false id("com.android.library") version "8.2.2" apply false - id("org.jetbrains.kotlin.android") version "1.9.22" apply false + id("org.jetbrains.kotlin.android") version "1.9.23" apply false } diff --git a/samples/starter-projects/konsist-starter-android-gradle-kotlin-junit-5/build.gradle.kts b/samples/starter-projects/konsist-starter-android-gradle-kotlin-junit-5/build.gradle.kts index d520e600c3..b45fb3494f 100644 --- a/samples/starter-projects/konsist-starter-android-gradle-kotlin-junit-5/build.gradle.kts +++ b/samples/starter-projects/konsist-starter-android-gradle-kotlin-junit-5/build.gradle.kts @@ -2,5 +2,5 @@ plugins { id("com.android.application") version "8.2.2" apply false id("com.android.library") version "8.2.2" apply false - id("org.jetbrains.kotlin.android") version "1.9.22" apply false + id("org.jetbrains.kotlin.android") version "1.9.23" apply false } diff --git a/samples/starter-projects/konsist-starter-android-gradle-kotlin-kotest/build.gradle.kts b/samples/starter-projects/konsist-starter-android-gradle-kotlin-kotest/build.gradle.kts index d520e600c3..b45fb3494f 100644 --- a/samples/starter-projects/konsist-starter-android-gradle-kotlin-kotest/build.gradle.kts +++ b/samples/starter-projects/konsist-starter-android-gradle-kotlin-kotest/build.gradle.kts @@ -2,5 +2,5 @@ plugins { id("com.android.application") version "8.2.2" apply false id("com.android.library") version "8.2.2" apply false - id("org.jetbrains.kotlin.android") version "1.9.22" apply false + id("org.jetbrains.kotlin.android") version "1.9.23" apply false } diff --git a/samples/starter-projects/konsist-starter-kmp-gradle-kotlin-junit5/build.gradle.kts b/samples/starter-projects/konsist-starter-kmp-gradle-kotlin-junit5/build.gradle.kts index 19e358fefc..04c5ceab9d 100644 --- a/samples/starter-projects/konsist-starter-kmp-gradle-kotlin-junit5/build.gradle.kts +++ b/samples/starter-projects/konsist-starter-kmp-gradle-kotlin-junit5/build.gradle.kts @@ -1,5 +1,5 @@ plugins { - kotlin("multiplatform") version "1.9.22" + kotlin("multiplatform") version "1.9.23" application id("com.android.application") } diff --git a/samples/starter-projects/konsist-starter-kmp-gradle-kotlin-junit5/konsistTest/build.gradle.kts b/samples/starter-projects/konsist-starter-kmp-gradle-kotlin-junit5/konsistTest/build.gradle.kts index cc968baeb9..7ae7d386e1 100644 --- a/samples/starter-projects/konsist-starter-kmp-gradle-kotlin-junit5/konsistTest/build.gradle.kts +++ b/samples/starter-projects/konsist-starter-kmp-gradle-kotlin-junit5/konsistTest/build.gradle.kts @@ -3,7 +3,7 @@ plugins { } kotlin { - jvmToolchain(19) + jvmToolchain(21) } tasks.withType { diff --git a/samples/starter-projects/konsist-starter-kmp-gradle-kotlin-kotest/build.gradle.kts b/samples/starter-projects/konsist-starter-kmp-gradle-kotlin-kotest/build.gradle.kts index fefe026a0b..d9dcb378f9 100644 --- a/samples/starter-projects/konsist-starter-kmp-gradle-kotlin-kotest/build.gradle.kts +++ b/samples/starter-projects/konsist-starter-kmp-gradle-kotlin-kotest/build.gradle.kts @@ -1,5 +1,5 @@ plugins { - kotlin("multiplatform") version "1.9.22" + kotlin("multiplatform") version "1.9.23" id("io.kotest.multiplatform") version "5.8.0" application id("com.android.application") diff --git a/samples/starter-projects/konsist-starter-kmp-gradle-kotlin-kotest/konsistTest/build.gradle.kts b/samples/starter-projects/konsist-starter-kmp-gradle-kotlin-kotest/konsistTest/build.gradle.kts index 8a46cb3620..e3013cfca2 100644 --- a/samples/starter-projects/konsist-starter-kmp-gradle-kotlin-kotest/konsistTest/build.gradle.kts +++ b/samples/starter-projects/konsist-starter-kmp-gradle-kotlin-kotest/konsistTest/build.gradle.kts @@ -3,7 +3,7 @@ plugins { } kotlin { - jvmToolchain(19) + jvmToolchain(21) } tasks.withType { diff --git a/samples/starter-projects/konsist-starter-spring-gradle-groovy-junit-5/build.gradle b/samples/starter-projects/konsist-starter-spring-gradle-groovy-junit-5/build.gradle index 6d23a20a4d..c397c15e81 100644 --- a/samples/starter-projects/konsist-starter-spring-gradle-groovy-junit-5/build.gradle +++ b/samples/starter-projects/konsist-starter-spring-gradle-groovy-junit-5/build.gradle @@ -1,8 +1,8 @@ plugins { id 'org.springframework.boot' version '3.2.2' id 'io.spring.dependency-management' version '1.1.4' - id 'org.jetbrains.kotlin.jvm' version '1.9.22' - id 'org.jetbrains.kotlin.plugin.spring' version '1.9.22' + id 'org.jetbrains.kotlin.jvm' version '1.9.23' + id 'org.jetbrains.kotlin.plugin.spring' version '1.9.23' id 'jvm-test-suite' } @@ -25,7 +25,12 @@ dependencies { } kotlin { - jvmToolchain(19) + jvmToolchain(21) +} + +java { + sourceCompatibility = JavaVersion.VERSION_21 + targetCompatibility = JavaVersion.VERSION_21 } tasks.named('test') { diff --git a/samples/starter-projects/konsist-starter-spring-gradle-groovy-kotest/build.gradle b/samples/starter-projects/konsist-starter-spring-gradle-groovy-kotest/build.gradle index 38e043dcf1..130d4d860a 100644 --- a/samples/starter-projects/konsist-starter-spring-gradle-groovy-kotest/build.gradle +++ b/samples/starter-projects/konsist-starter-spring-gradle-groovy-kotest/build.gradle @@ -1,8 +1,8 @@ plugins { id 'org.springframework.boot' version '3.2.2' id 'io.spring.dependency-management' version '1.1.4' - id 'org.jetbrains.kotlin.jvm' version '1.9.22' - id 'org.jetbrains.kotlin.plugin.spring' version '1.9.22' + id 'org.jetbrains.kotlin.jvm' version '1.9.23' + id 'org.jetbrains.kotlin.plugin.spring' version '1.9.23' id 'jvm-test-suite' } @@ -25,7 +25,12 @@ dependencies { } kotlin { - jvmToolchain(19) + jvmToolchain(21) +} + +java { + sourceCompatibility = JavaVersion.VERSION_21 + targetCompatibility = JavaVersion.VERSION_21 } tasks.named('test') { diff --git a/samples/starter-projects/konsist-starter-spring-gradle-kotlin-junit-5/build.gradle.kts b/samples/starter-projects/konsist-starter-spring-gradle-kotlin-junit-5/build.gradle.kts index 03ab99fc06..4c9141ba64 100644 --- a/samples/starter-projects/konsist-starter-spring-gradle-kotlin-junit-5/build.gradle.kts +++ b/samples/starter-projects/konsist-starter-spring-gradle-kotlin-junit-5/build.gradle.kts @@ -1,8 +1,8 @@ plugins { id("org.springframework.boot") version "3.2.2" id("io.spring.dependency-management") version "1.1.4" - kotlin("jvm") version "1.9.22" - kotlin("plugin.spring") version "1.9.22" + kotlin("jvm") version "1.9.23" + kotlin("plugin.spring") version "1.9.23" `jvm-test-suite` } @@ -25,7 +25,12 @@ dependencies { } kotlin { - jvmToolchain(19) + jvmToolchain(21) +} + +java { + sourceCompatibility = JavaVersion.VERSION_21 + targetCompatibility = JavaVersion.VERSION_21 } tasks.withType { diff --git a/samples/starter-projects/konsist-starter-spring-gradle-kotlin-kotest/build.gradle.kts b/samples/starter-projects/konsist-starter-spring-gradle-kotlin-kotest/build.gradle.kts index 5aea6d2211..dbf5fa4f8c 100644 --- a/samples/starter-projects/konsist-starter-spring-gradle-kotlin-kotest/build.gradle.kts +++ b/samples/starter-projects/konsist-starter-spring-gradle-kotlin-kotest/build.gradle.kts @@ -1,8 +1,8 @@ plugins { id("org.springframework.boot") version "3.2.2" id("io.spring.dependency-management") version "1.1.4" - kotlin("jvm") version "1.9.22" - kotlin("plugin.spring") version "1.9.22" + kotlin("jvm") version "1.9.23" + kotlin("plugin.spring") version "1.9.23" `jvm-test-suite` } @@ -25,7 +25,12 @@ dependencies { } kotlin { - jvmToolchain(19) + jvmToolchain(21) +} + +java { + sourceCompatibility = JavaVersion.VERSION_21 + targetCompatibility = JavaVersion.VERSION_21 } tasks.withType { diff --git a/samples/starter-projects/konsist-starter-spring-maven-junit5/pom.xml b/samples/starter-projects/konsist-starter-spring-maven-junit5/pom.xml index ce2b454e56..0cb16be247 100644 --- a/samples/starter-projects/konsist-starter-spring-maven-junit5/pom.xml +++ b/samples/starter-projects/konsist-starter-spring-maven-junit5/pom.xml @@ -26,7 +26,7 @@ konsist-starter-spring-maven-junit5 19 - 1.9.22 + 1.9.23 diff --git a/samples/starter-projects/konsist-starter-spring-maven-kotest/pom.xml b/samples/starter-projects/konsist-starter-spring-maven-kotest/pom.xml index 48eacc37da..983b4fb09f 100644 --- a/samples/starter-projects/konsist-starter-spring-maven-kotest/pom.xml +++ b/samples/starter-projects/konsist-starter-spring-maven-kotest/pom.xml @@ -26,7 +26,7 @@ konsist-starter-spring-maven-kotest 19 - 1.9.22 + 1.9.23 diff --git a/test-projects/konsist-declaration-tester/gradle/libs.versions.toml b/test-projects/konsist-declaration-tester/gradle/libs.versions.toml index af51cd3f6f..38f33e7062 100644 --- a/test-projects/konsist-declaration-tester/gradle/libs.versions.toml +++ b/test-projects/konsist-declaration-tester/gradle/libs.versions.toml @@ -1,5 +1,5 @@ [versions] -kotlinVersion = "2.0.0-Beta3" +kotlinVersion = "1.9.23" [libraries] kotlin-stdlib-jdk8 = { module = "org.jetbrains.kotlin:kotlin-stdlib-jdk8", version.ref = "kotlinVersion" } diff --git a/test-projects/konsist-path-tester/gradle/libs.versions.toml b/test-projects/konsist-path-tester/gradle/libs.versions.toml index af51cd3f6f..38f33e7062 100644 --- a/test-projects/konsist-path-tester/gradle/libs.versions.toml +++ b/test-projects/konsist-path-tester/gradle/libs.versions.toml @@ -1,5 +1,5 @@ [versions] -kotlinVersion = "2.0.0-Beta3" +kotlinVersion = "1.9.23" [libraries] kotlin-stdlib-jdk8 = { module = "org.jetbrains.kotlin:kotlin-stdlib-jdk8", version.ref = "kotlinVersion" } diff --git a/test-projects/konsist-root-path-gradle-tester/gradle/libs.versions.toml b/test-projects/konsist-root-path-gradle-tester/gradle/libs.versions.toml index ae31899f35..092e9b78eb 100644 --- a/test-projects/konsist-root-path-gradle-tester/gradle/libs.versions.toml +++ b/test-projects/konsist-root-path-gradle-tester/gradle/libs.versions.toml @@ -1,5 +1,5 @@ [versions] -kotlinVersion = "2.0.0-Beta3" +kotlinVersion = "1.9.23" [libraries] kotlin-stdlib-jdk8 = { module = "org.jetbrains.kotlin:kotlin-stdlib-jdk8", version.ref = "kotlinVersion" }