build: specify java compat

This commit is contained in:
Gauthier Roebroeck 2021-12-22 11:03:43 +08:00
parent 4cc1bb5a54
commit 550c936499

View file

@ -112,6 +112,10 @@ dependencies {
val webui = "$rootDir/komga-webui"
tasks {
withType<JavaCompile> {
sourceCompatibility = "1.8"
targetCompatibility = "1.8"
}
withType<KotlinCompile> {
kotlinOptions {
jvmTarget = "1.8"