Commit 7018ebea authored by Gerald Oster's avatar Gerald Oster
Browse files

[chore] upgrade to JavaFX 17

parent db366eb1
plugins {
id 'application'
id 'org.openjfx.javafxplugin' version '0.0.9'
id 'org.beryx.jlink' version '2.22.3'
id 'org.openjfx.javafxplugin' version '0.0.10'
id 'org.beryx.jlink' version '2.24.4'
id 'com.github.johnrengelman.shadow' version '7.1.0'
}
group 'eu.telecomnancy.javafx'
version '1.0'
......@@ -13,22 +15,37 @@ java {
modularity.inferModulePath.set(true)
}
application{
mainModule = "eu.telecomnancy.javafx"
mainClass = "$mainModule/eu.telecomnancy.javafx.MainApp"
tasks.withType(JavaExec) {
jvmArgs += [ "-Dprism.verbose==true" ]
}
repositories {
mavenCentral()
}
dependencies {
testImplementation("org.junit.jupiter:junit-jupiter-api:5.8.2")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.8.2")
}
application {
// mainModule = "eu.telecomnancy.javafx"
// mainClass = "$mainModule/eu.telecomnancy.javafx.MainApp"
// mainClassName = "eu.telecomnancy.javafx.MainApp"
mainClass.set("eu.telecomnancy.javafx.MainApp")
}
wrapper {
distributionType = Wrapper.DistributionType.ALL
}
javafx {
version = "15"
modules = [ 'javafx.base', 'javafx.controls', 'javafx.fxml', 'javafx.graphics', 'javafx.media', 'javafx.web']
version = "17"
modules = [ 'javafx.base', 'javafx.controls', 'javafx.fxml', 'javafx.graphics', 'javafx.media', 'javafx.web' ]
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment