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"
|
||||
|
||||
|
||||
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
|
||||
|
||||
|
|
Loading…
Reference in New Issue