mirror of
https://github.com/Suwayomi/Tachidesk.git
synced 2025-12-10 06:42:07 +01:00
* Use JDK 25 to build and include in releases * Set Jvm Targets in BuildSrc * Put JvmTarget in libs.versions.toml * Maybe this will work for Zulu * Use LTS java version
24 lines
479 B
Kotlin
24 lines
479 B
Kotlin
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
|
|
|
|
plugins {
|
|
`kotlin-dsl`
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
implementation(libs.zip4j)
|
|
}
|
|
|
|
java {
|
|
val javaVersion = JavaVersion.toVersion(libs.versions.jvmTarget.get())
|
|
sourceCompatibility = javaVersion
|
|
targetCompatibility = javaVersion
|
|
}
|
|
|
|
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
|
|
compilerOptions.jvmTarget = JvmTarget.fromTarget(libs.versions.jvmTarget.get())
|
|
}
|