mirror of
https://github.com/gotson/komga.git
synced 2025-01-09 04:08:00 +08:00
build: target JDK 17
BREAKING-CHANGE: Java 17 or above is now required
This commit is contained in:
parent
425981e928
commit
9569c5b6e0
@ -138,12 +138,12 @@ dependencies {
|
||||
val webui = "$rootDir/komga-webui"
|
||||
tasks {
|
||||
withType<JavaCompile> {
|
||||
sourceCompatibility = "1.8"
|
||||
targetCompatibility = "1.8"
|
||||
sourceCompatibility = "17"
|
||||
targetCompatibility = "17"
|
||||
}
|
||||
withType<KotlinCompile> {
|
||||
kotlinOptions {
|
||||
jvmTarget = "1.8"
|
||||
jvmTarget = "17"
|
||||
freeCompilerArgs = listOf(
|
||||
"-Xjsr305=strict",
|
||||
"-opt-in=kotlin.time.ExperimentalTime",
|
||||
|
Loading…
Reference in New Issue
Block a user