Unciv/core/build.gradle.kts
Yair Morgenstern 6b9c98edc5
Compile to jre 8 target (#11122)
* Allow Java 8 to run this seamlessly, because really, why not?
Resolves #11121
Resolves #11074

* Apparently

* Correct version-to-string
2024-02-12 00:49:08 +02:00

24 lines
313 B
Plaintext

plugins {
id("kotlin")
}
sourceSets {
main {
java.srcDir("src/")
}
}
kotlin {
jvmToolchain(17)
target {
compilations.all {
kotlinOptions.jvmTarget = JavaVersion.VERSION_1_8.toString()
}
}
}
java {
targetCompatibility = JavaVersion.VERSION_1_8
}