Skip to content

Commit

Permalink
(refactor) Add module access info to test classes
Browse files Browse the repository at this point in the history
  • Loading branch information
JordanMartinez committed Sep 5, 2017
1 parent 5a16778 commit 50ce3a4
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions subprojects/testfx-core/testfx-core.gradle
Expand Up @@ -51,3 +51,14 @@ compileJava {
}
}

compileTestJava {
if (usingJava9) {
options.compilerArgs += [
"--add-opens", "org.testfx.internal/org.testfx.service.adapter=ALL-UNNAMED",
"--add-opens", "java.base/java.lang=ALL-UNNAMED",
"--add-opens", "java.base/java.util=ALL-UNNAMED",
"--add-exports", "javafx.graphics/com.sun.glass.ui=ALL-UNNAMED"
]
}
}

0 comments on commit 50ce3a4

Please sign in to comment.