File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed
junit-jupiter-starter-gradle-kotlin Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ tasks.test {
2323}
2424
2525tasks.withType<JavaCompile >().configureEach {
26- options.release.set( 17 )
26+ options.release = 17
2727}
2828
2929tasks.withType<KotlinCompile >().configureEach {
Original file line number Diff line number Diff line change 1- import org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_1_8
1+ import org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_17
22import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
33
44plugins {
@@ -84,11 +84,11 @@ dependencies {
8484tasks {
8585
8686 withType<JavaCompile >().configureEach {
87- options.release.set( 8 )
87+ options.release = 17
8888 }
8989
9090 withType<KotlinCompile >().configureEach {
91- compilerOptions.jvmTarget = JVM_1_8
91+ compilerOptions.jvmTarget = JVM_17
9292 }
9393
9494 val consoleLauncherTest by registering(JavaExec ::class ) {
Original file line number Diff line number Diff line change 1- import org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_11
1+ import org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_17
22
33plugins {
44 `kotlin- dsl`
@@ -10,9 +10,9 @@ repositories {
1010
1111tasks {
1212 compileKotlin {
13- compilerOptions.jvmTarget = JVM_11
13+ compilerOptions.jvmTarget = JVM_17
1414 }
1515 compileJava {
16- options.release.set( 11 )
16+ options.release = 17
1717 }
1818}
You can’t perform that action at this time.
0 commit comments