Changed to Java 11 (LTS) compabitility.
This commit is contained in:
parent
1dda05fe20
commit
06020655a7
1 changed files with 3 additions and 3 deletions
|
@ -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> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue