Skip to content

Commit 738072c

Browse files
committed
Prefer slf4j-api 2.0.16
1 parent 4c5d89e commit 738072c

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

build.gradle.kts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
12
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
23
import java.text.SimpleDateFormat
34
import java.util.*
@@ -21,7 +22,7 @@ dependencies {
2122
implementation("org.slf4j:slf4j-api") {
2223
version {
2324
strictly("[1.7,3)")
24-
prefer("2.0.13")
25+
prefer("2.0.16")
2526
}
2627
}
2728
listOf(
@@ -120,7 +121,9 @@ tasks {
120121
}
121122

122123
withType<KotlinCompile> {
123-
kotlinOptions.jvmTarget = "1.8"
124+
compilerOptions {
125+
jvmTarget.set(JvmTarget.JVM_1_8)
126+
}
124127
}
125128

126129
withType<Test> {

0 commit comments

Comments
 (0)