Skip to content

Commit 2cb515d

Browse files
committed
Build: Replace kotlin options jvm target 1.8 with java version const
1 parent 388d6cd commit 2cb515d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ allprojects {
105105

106106
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {
107107
kotlinOptions {
108-
jvmTarget = "1.8"
108+
jvmTarget = JavaVersion.VERSION_1_8
109109
}
110110
}
111111
}

libs/annotations/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ repositories {
77
}
88
compileKotlin {
99
kotlinOptions {
10-
jvmTarget = "1.8"
10+
jvmTarget = JavaVersion.VERSION_1_8
1111
}
1212
}

0 commit comments

Comments
 (0)