Skip to content

Commit dd6800f

Browse files
author
m.zharinova
committed
fix changed java version
1 parent 67440f6 commit dd6800f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

buildSrc/src/main/kotlin/sb-ot-demo.java-compile.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ dependencies {
2424
}
2525

2626
java {
27-
sourceCompatibility = JavaVersion.VERSION_17
28-
targetCompatibility = JavaVersion.VERSION_17
27+
sourceCompatibility = JavaVersion.VERSION_21
28+
targetCompatibility = JavaVersion.VERSION_21
2929
withSourcesJar()
3030
}
3131

buildSrc/src/main/kotlin/sb-ot-demo.kotlin-conventions.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ dependencies {
3333
tasks.withType<KotlinCompile> {
3434
compilerOptions {
3535
freeCompilerArgs.add("-Xjsr305=strict")
36-
jvmTarget = JvmTarget.JVM_17
36+
jvmTarget = JvmTarget.JVM_21
3737
}
3838
}
3939

0 commit comments

Comments
 (0)