Changed to Java 11 (LTS) compabitility.

This commit is contained in:
Erik C. Thauvin 2021-05-08 20:11:54 -07:00
parent 1dda05fe20
commit 06020655a7

View file

@ -45,8 +45,8 @@ application {
}
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
withSourcesJar()
}
@ -69,7 +69,7 @@ val javadocJar by tasks.creating(Jar::class) {
tasks {
withType<KotlinCompile>().configureEach {
kotlinOptions.jvmTarget = "1.8"
kotlinOptions.jvmTarget = "11"
}
withType<GenerateMavenPom> {