Added some other options to ensure Java 8 is used
This commit is contained in:
parent
302d6027c8
commit
0ed6c52ead
|
@ -10,12 +10,14 @@ group = "net.codinux.banking.epcqrcode.javafx"
|
||||||
val mainClassName = "net.codinux.banking.epcqrcode.EpcQrCodeJavaFxAppKt"
|
val mainClassName = "net.codinux.banking.epcqrcode.EpcQrCodeJavaFxAppKt"
|
||||||
|
|
||||||
|
|
||||||
dependencies {
|
val compileKotlin: KotlinCompile by tasks
|
||||||
implementation(project(":EpcQrCode"))
|
compileKotlin.kotlinOptions {
|
||||||
|
jvmTarget = "1.8"
|
||||||
implementation("net.dankito.utils:java-fx-utils:1.0.8")
|
}
|
||||||
|
val compileTestKotlin: KotlinCompile by tasks
|
||||||
|
compileTestKotlin.kotlinOptions {
|
||||||
|
jvmTarget = "1.8"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
java {
|
java {
|
||||||
sourceCompatibility = JavaVersion.VERSION_1_8
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
||||||
|
@ -26,12 +28,21 @@ tasks.withType<KotlinCompile>() {
|
||||||
kotlinOptions.jvmTarget = "1.8"
|
kotlinOptions.jvmTarget = "1.8"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
dependencies {
|
||||||
|
implementation(kotlin("stdlib-jdk8"))
|
||||||
|
|
||||||
|
implementation(project(":EpcQrCode"))
|
||||||
|
|
||||||
|
implementation("net.dankito.utils:java-fx-utils:1.0.8")
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
application {
|
application {
|
||||||
mainClassName = mainClassName
|
mainClassName = mainClassName
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
tasks.withType<Jar> {
|
tasks.withType<Jar> {
|
||||||
isZip64 = true
|
isZip64 = true
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue