@@ -2,7 +2,7 @@ plugins {
2
2
kotlin(" jvm" ) version " 2.0.21"
3
3
jacoco
4
4
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"
6
6
`maven- publish`
7
7
}
8
8
@@ -15,10 +15,10 @@ repositories {
15
15
16
16
dependencies {
17
17
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 ,)" )
20
20
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 ,)" )
22
22
}
23
23
24
24
tasks.test {
@@ -29,12 +29,12 @@ tasks.test {
29
29
group = " com.github.javadev"
30
30
version = " 1.30-SNAPSHOT"
31
31
description = " 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
34
34
35
35
tasks.withType< org.jetbrains.kotlin.gradle.tasks.KotlinCompile > {
36
36
compilerOptions {
37
- jvmTarget.set(org.jetbrains.kotlin.gradle.dsl.JvmTarget .JVM_11 )
37
+ jvmTarget.set(org.jetbrains.kotlin.gradle.dsl.JvmTarget .JVM_17 )
38
38
}
39
39
}
40
40
0 commit comments