File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed
Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change 1- import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
2-
31val springBootVersion = " 3.4.5"
42val junitPlatformVersion = " 1.10.2"
53val embeddedRedisVersion = " 1.4.3"
@@ -11,7 +9,7 @@ val xmlunitVersion = "2.10.1"
119
1210plugins {
1311 val springDependencyManagementVersion = " 1.1.7"
14- val kotlinVersion = " 2.1.21 "
12+ val kotlinVersion = " 1.9.25 "
1513 val adarshrTestLoggerVersion = " 4.0.0"
1614 val sonarqubeVersion = " 6.2.0.5505"
1715 val gradleReleasePluginVersion = " 3.1.0"
@@ -32,7 +30,9 @@ plugins {
3230group = " io.github.tobi-laa"
3331
3432java {
35- sourceCompatibility = JavaVersion .VERSION_21
33+ toolchain {
34+ languageVersion = JavaLanguageVersion .of(21 )
35+ }
3636 withJavadocJar()
3737 withSourcesJar()
3838}
@@ -76,10 +76,9 @@ dependencies {
7676 testImplementation(" io.github.netmikey.logunit:logunit-core:$logunitVersion " )
7777}
7878
79- tasks.withType<KotlinCompile > {
80- kotlinOptions {
81- freeCompilerArgs + = " -Xjsr305=strict"
82- jvmTarget = " 21"
79+ kotlin {
80+ compilerOptions {
81+ freeCompilerArgs.addAll(" -Xjsr305=strict" )
8382 }
8483}
8584
You can’t perform that action at this time.
0 commit comments