We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4c5d89e commit 738072cCopy full SHA for 738072c
1 file changed
build.gradle.kts
@@ -1,3 +1,4 @@
1
+import org.jetbrains.kotlin.gradle.dsl.JvmTarget
2
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
3
import java.text.SimpleDateFormat
4
import java.util.*
@@ -21,7 +22,7 @@ dependencies {
21
22
implementation("org.slf4j:slf4j-api") {
23
version {
24
strictly("[1.7,3)")
- prefer("2.0.13")
25
+ prefer("2.0.16")
26
}
27
28
listOf(
@@ -120,7 +121,9 @@ tasks {
120
121
122
123
withType<KotlinCompile> {
- kotlinOptions.jvmTarget = "1.8"
124
+ compilerOptions {
125
+ jvmTarget.set(JvmTarget.JVM_1_8)
126
+ }
127
128
129
withType<Test> {
0 commit comments