Skip to content
This repository has been archived by the owner on Aug 25, 2019. It is now read-only.

[WIP] Move to Java 9 #1

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
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
16 changes: 14 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,9 +1,21 @@
apply plugin: 'java'

sourceCompatibility = 1.8
targetCompatibility = 1.8
sourceCompatibility = 1.9
targetCompatibility = 1.9

group = "org.jabref"
version = "1.0.0"

compileJava {
options.encoding = 'UTF-8'
options.sourcepath = files(sourceSets.main.java.srcDirs)
options.compilerArgs.addAll([
"--add-exports",
"javafx.base/com.sun.javafx.collections=customjfx"
])
options.compilerArgs.addAll([
"--add-exports",
"javafx.graphics/com.sun.javafx.scene.input=customjfx"
])

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
module customjfx {
requires java.desktop;
requires javafx.base;
requires javafx.graphics;

exports org.jabref.gui.customjfx.support;
}