Skip to content

Commit

Permalink
Downgrade JFX gradle plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
Col-E committed Oct 27, 2023
1 parent 1260283 commit 20f72a7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions recaf-ui/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
id 'application'
id 'org.openjfx.javafxplugin' version '0.1.0'
id 'org.openjfx.javafxplugin' version '0.0.14' // Do not update to version 0.1.0, dependency management is broke
id 'com.github.johnrengelman.shadow' version '8.1.1'
}

Expand All @@ -10,7 +10,9 @@ def javaFxIncludeInDist = System.getProperty('skip.jfx.bundle') == null
javafx {
version = javaFxVersion
modules = ['javafx.controls', 'javafx.media']
configurations = javaFxIncludeInDist ? [ 'implementation' ] : [ 'compileOnly', 'testImplementation' ]
configuration = javaFxIncludeInDist ? 'implementation' : 'compileOnly'
// TODO: Change to 'configurations' when updating to '0.1.1' or above:
// configurations = javaFxIncludeInDist ? [ 'implementation' ] : [ 'compileOnly', 'testImplementation' ]
}

dependencies {
Expand Down

0 comments on commit 20f72a7

Please sign in to comment.