Skip to content

Commit

Permalink
Workaround for Issue #6
Browse files Browse the repository at this point in the history
  • Loading branch information
msgilligan committed Jan 18, 2021
1 parent 8fe2944 commit c73f21d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions supernaut-fx-sample-hello/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ task dowloadJavaFXPlatformJars(type: Copy) {
into "${buildDir}/verificationJars"
}

// Workaround for https://github.com/SupernautApp/SupernautFX/issues/6
modularity.disableEffectiveArgumentsAdjustment()

patchModules.config = [
"java.annotation=jsr305-3.0.2.jar"
]
Expand Down
3 changes: 3 additions & 0 deletions supernaut-fx-sample-minimal/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ patchModules.config = [
"java.annotation=jsr305-3.0.2.jar"
]

// Workaround for https://github.com/SupernautApp/SupernautFX/issues/6
modularity.disableEffectiveArgumentsAdjustment()

javafx {
version = javaFxVersion
modules = ['javafx.graphics', 'javafx.controls', 'javafx.fxml']
Expand Down
2 changes: 2 additions & 0 deletions supernaut-fx-testapp/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ dependencies {
implementation "org.slf4j:slf4j-jdk14:${slf4jVersion}"
}

// Workaround for https://github.com/SupernautApp/SupernautFX/issues/6
modularity.disableEffectiveArgumentsAdjustment()

patchModules.config = [
"java.annotation=jsr305-3.0.2.jar"
Expand Down

0 comments on commit c73f21d

Please sign in to comment.