Repository: tapestry-5 Updated Branches: refs/heads/master 5321b3d31 -> 3f24210f1
make tests work on Java 9 Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/3f24210f Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/3f24210f Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/3f24210f Branch: refs/heads/master Commit: 3f24210f1d6a1893941ca3ed103ba6db3527d95d Parents: 5321b3d Author: Jochen Kemnade <[email protected]> Authored: Tue Oct 24 13:20:12 2017 +0200 Committer: Jochen Kemnade <[email protected]> Committed: Tue Oct 24 13:20:12 2017 +0200 ---------------------------------------------------------------------- build.gradle | 5 +++++ 1 file changed, 5 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/3f24210f/build.gradle ---------------------------------------------------------------------- diff --git a/build.gradle b/build.gradle index de23bb7..1fa8fd6 100755 --- a/build.gradle +++ b/build.gradle @@ -116,6 +116,8 @@ dependencies { binaries "org.antlr:antlr-runtime:3.3", { transitive = false } } +def isJava9 = System.properties['java.version'].startsWith('9') + subprojects { def jdkVersion = System.properties['java.version'] @@ -190,6 +192,9 @@ subprojects { systemProperties["java.io.tmpdir"] = temporaryDir.absolutePath jvmArgs("-Dfile.encoding=UTF-8") + if (isJava9){ + jvmArgs += ["--add-modules", "java.xml.ws.annotation"] + } environment.LANG = 'en_US.UTF-8'
