Skip to content
This repository was archived by the owner on Jan 23, 2025. It is now read-only.

Commit 7a54aaf

Browse files
committed
build: remove deprecated usage
1 parent d6257af commit 7a54aaf

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

build.gradle

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
2+
13
import java.nio.charset.StandardCharsets
24

35
plugins {
@@ -42,10 +44,9 @@ indra {
4244
}
4345

4446
sourceCompatibility = targetCompatibility = JavaVersion.VERSION_17
47+
4548
compileKotlin {
46-
kotlinOptions {
47-
jvmTarget = '17'
48-
}
49+
compilerOptions.jvmTarget.set(JvmTarget.JVM_17)
4950
}
5051

5152
loom {

0 commit comments

Comments
 (0)