Skip to content

Commit

Permalink
Add JPMS hacks to build script
Browse files Browse the repository at this point in the history
  • Loading branch information
florian-beetz committed Jun 27, 2018
1 parent 0920af4 commit 1cbe9ac
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,16 @@ project.ext.install4jDir = hasProperty("install4jDir") ? getProperty("install4jD
sourceCompatibility = 9
targetCompatibility = 9
mainClassName = "org.jabref.JabRefMain"
javaModule.name ="org.jabref"

javaModule {
name = "org.jabref"
hacks {
opens "javafx.swing", "javafx.embed.swing", "org.jabref"
opens "java.desktop", "java.awt", "spin"
opens "javafx.controls", "javafx.scene.control", "org.jabref"
exports "javafx.base", "com.sun.javafx.runtime", "controlsfx"
}
}


// These are the Java version requirements we will check on each start of JabRef
Expand Down

0 comments on commit 1cbe9ac

Please sign in to comment.