Skip to content

Commit 5dcb565

Browse files
authored
Merge pull request #5711 from JabRef/fixeclipseclasspath
Fix eclipse classpath build file
2 parents 16bb6fd + fe8f4cd commit 5dcb565

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

eclipse.gradle

+5
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ eclipse {
2828
javafxcontrols.entryAttributes['add-exports'] = 'javafx.controls/com.sun.javafx.scene.control=org.jabref:javafx.controls/com.sun.javafx.scene.control.behavior=org.jabref:javafx.controls/javafx.scene.control=org.jabref';
2929
javafxcontrols.entryAttributes['add-opens'] = 'javafx.controls/com.sun.javafx.scene.control=org.jabref:javafx.controls/com.sun.javafx.scene.control.behavior=org.jabref:javafx.controls/javafx.scene.control=org.jabref';
3030

31+
def javafxgraphics = entries.find { isJavafxGraphics(it) };
32+
javafxgraphics.entryAttributes['add-opens'] = 'javafx.graphics/javafx.scene=org.controlsfx.controls';
33+
3134
def graaltruffle = entries.find{ isTruffleGraal(it) } ;
3235
graaltruffle.entryAttributes['add-exports'] = 'com.oracle.truffle.regex/com.oracle.truffle.regex=org.graalvm.truffle';
3336

@@ -56,6 +59,8 @@ boolean isControlsfx(entry) { return entry.properties.path.contains('controlsfx'
5659

5760
boolean isJavafxControls(entry) { return entry.properties.path.contains('javafx-controls'); }
5861

62+
boolean isJavafxGraphics(entry) { return entry.properties.path.contains('javafx-graphics'); }
63+
5964
boolean isTruffleGraal(entry) {return entry.properties.path.contains('org.graalvm.regex'); }
6065

6166
// add formatter and cleanup settings to Eclipse settings

0 commit comments

Comments
 (0)