mirror of
https://github.com/2martens/tsw-timetable.git
synced 2026-10-17 07:57:55 +02:00
chore: Update to Java 21
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import org.gradle.accessors.dm.LibrariesForLibs
|
||||
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
|
||||
|
||||
plugins {
|
||||
kotlin("jvm")
|
||||
@@ -11,8 +12,11 @@ dependencies {
|
||||
implementation(kotlin("reflect"))
|
||||
}
|
||||
|
||||
val projectSourceCompatibility: String = rootProject.properties["projectSourceCompatibility"].toString()
|
||||
|
||||
kotlin {
|
||||
compilerOptions {
|
||||
freeCompilerArgs.add("-Xjvm-default=all")
|
||||
jvmTarget.set(JvmTarget.fromTarget(projectSourceCompatibility))
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user