Added some other options to ensure Java 8 is used

This commit is contained in:
dankito 2020-11-13 03:05:45 +01:00
parent 302d6027c8
commit 0ed6c52ead
1 changed files with 17 additions and 6 deletions

View File

@ -10,12 +10,14 @@ group = "net.codinux.banking.epcqrcode.javafx"
val mainClassName = "net.codinux.banking.epcqrcode.EpcQrCodeJavaFxAppKt"
dependencies {
implementation(project(":EpcQrCode"))
implementation("net.dankito.utils:java-fx-utils:1.0.8")
val compileKotlin: KotlinCompile by tasks
compileKotlin.kotlinOptions {
jvmTarget = "1.8"
}
val compileTestKotlin: KotlinCompile by tasks
compileTestKotlin.kotlinOptions {
jvmTarget = "1.8"
}
java {
sourceCompatibility = JavaVersion.VERSION_1_8
@ -26,12 +28,21 @@ tasks.withType<KotlinCompile>() {
kotlinOptions.jvmTarget = "1.8"
}
dependencies {
implementation(kotlin("stdlib-jdk8"))
implementation(project(":EpcQrCode"))
implementation("net.dankito.utils:java-fx-utils:1.0.8")
}
application {
mainClassName = mainClassName
}
tasks.withType<Jar> {
isZip64 = true