Extracted variable javaVersion

This commit is contained in:
dankito 2022-03-13 23:45:48 +01:00
parent 688a156f52
commit c47dacae12
1 changed files with 7 additions and 5 deletions

View File

@ -1,6 +1,6 @@
plugins {
id 'org.jetbrains.kotlin.jvm'
id "org.jetbrains.kotlin.plugin.allopen" version "1.4.10"
id "org.jetbrains.kotlin.plugin.allopen" version "1.6.10"
id 'io.quarkus'
}
@ -8,18 +8,20 @@ group 'net.dankito.banking.epcqrcode'
version '1.0.0-SNAPSHOT'
def javaVersion = JavaVersion.VERSION_11
java {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
sourceCompatibility = javaVersion
targetCompatibility = javaVersion
}
compileKotlin {
kotlinOptions.jvmTarget = JavaVersion.VERSION_11
kotlinOptions.jvmTarget = javaVersion
kotlinOptions.javaParameters = true
}
compileTestKotlin {
kotlinOptions.jvmTarget = JavaVersion.VERSION_11
kotlinOptions.jvmTarget = javaVersion
}