@@ -2,7 +2,7 @@ plugins {
22 kotlin(" jvm" ) version " 2.0.21"
33 jacoco
44 id(" org.sonarqube" ) version " 5.1.0.4882"
5- id(" com.diffplug.spotless" ) version " 6.21 .0"
5+ id(" com.diffplug.spotless" ) version " 6.25 .0"
66 `maven- publish`
77}
88
@@ -15,10 +15,10 @@ repositories {
1515
1616dependencies {
1717 implementation(" org.jetbrains.kotlin:kotlin-stdlib:2.0.21" )
18- testImplementation(" org.junit.jupiter:junit-jupiter:[5.11.0 ,)" )
19- testImplementation(" org.hamcrest:hamcrest-core:[2.2 ,)" )
18+ testImplementation(" org.junit.jupiter:junit-jupiter:[5.11.3 ,)" )
19+ testImplementation(" org.hamcrest:hamcrest-core:[3.0 ,)" )
2020 testImplementation(" org.zapodot:embedded-db-junit-jupiter:[2.2.0,)" )
21- testRuntimeOnly(" org.junit.platform:junit-platform-launcher:[1.11.0 ,)" )
21+ testRuntimeOnly(" org.junit.platform:junit-platform-launcher:[1.11.3 ,)" )
2222}
2323
2424tasks.test {
@@ -29,12 +29,12 @@ tasks.test {
2929group = " com.github.javadev"
3030version = " 1.30-SNAPSHOT"
3131description = " leetcode-in-kotlin"
32- java.sourceCompatibility = JavaVersion .VERSION_11
33- java.targetCompatibility = JavaVersion .VERSION_11
32+ java.sourceCompatibility = JavaVersion .VERSION_17
33+ java.targetCompatibility = JavaVersion .VERSION_17
3434
3535tasks.withType< org.jetbrains.kotlin.gradle.tasks.KotlinCompile > {
3636 compilerOptions {
37- jvmTarget.set(org.jetbrains.kotlin.gradle.dsl.JvmTarget .JVM_11 )
37+ jvmTarget.set(org.jetbrains.kotlin.gradle.dsl.JvmTarget .JVM_17 )
3838 }
3939}
4040
0 commit comments