Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ dependencies {
compile group: 'org.apache.logging.log4j', name: 'log4j-core', version: '3.0.0-SNAPSHOT'
annotationProcessor group: 'org.apache.logging.log4j', name: 'log4j-core', version: '3.0.0-SNAPSHOT'

compile 'de.undercouch:citeproc-java:1.0.1'
compile 'de.undercouch:citeproc-java:2.0.0'

compile group: 'jakarta.activation', name: 'jakarta.activation-api', version: '1.2.1'
compile group: 'jakarta.xml.bind', name: 'jakarta.xml.bind-api', version: '2.3.2'
Expand Down Expand Up @@ -411,14 +411,16 @@ run {
"--add-opens", "javafx.controls/com.sun.javafx.scene.control.behavior=com.jfoenix",
"--add-opens", "javafx.base/com.sun.javafx.binding=com.jfoenix",
"--add-opens", "javafx.graphics/com.sun.javafx.stage=com.jfoenix",
"--add-opens", "javafx.base/com.sun.javafx.event=com.jfoenix"
"--add-opens", "javafx.base/com.sun.javafx.event=com.jfoenix",
'--add-exports', 'com.oracle.truffle.regex/com.oracle.truffle.regex=org.graalvm.truffle'

// TODO: The following code should have the same affect as the above one, but doesn't work for some reason
// https://github.com/java9-modularity/gradle-modules-plugin/issues/89
moduleOptions {
addExports = [
'javafx.controls/com.sun.javafx.scene.control' : 'org.jabref',
'org.controlsfx.controls/impl.org.controlsfx.skin' : 'org.jabref'
'org.controlsfx.controls/impl.org.controlsfx.skin' : 'org.jabref',
'com.oracle.truffle.regex/com.oracle.truffle.regex' : 'org.graalvm.truffle'
]

addOpens = [
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
requires jbibtex;
requires citeproc.java;
requires antlr.runtime;
requires commons.lang3;
requires org.graalvm.js;
requires org.apache.xmpbox;
requires de.saxsys.mvvmfx.validation;
requires richtextfx;
Expand Down