Skip to content

Commit

Permalink
Update build.gradle
Browse files Browse the repository at this point in the history
Trying something out to support more java versions
  • Loading branch information
JonathanGiles authored Jan 22, 2024
1 parent 6b41420 commit 6fc657f
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
plugins {
id 'application'
id 'org.openjfx.javafxplugin' version '0.1.0'
id 'org.beryx.jlink' version '3.0.1'

if (JavaVersion.current() < 17) {
id 'org.beryx.jlink' version '2.2.6'
} else if (JavaVersion.current() >= 17) {
id 'org.beryx.jlink' version '3.0.1'
}
}

application {
Expand Down Expand Up @@ -75,4 +80,4 @@ tasks.jlink.doLast {
from layout.buildDirectory.file("libs/scenicview.jar")
into layout.buildDirectory.dir("scenicview/lib")
}
}
}

0 comments on commit 6fc657f

Please sign in to comment.