You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by th...@apache.org on 2020/12/02 03:05:47 UTC
[tapestry-5] branch master updated: Trying to work around a bug in
Javadoc
This is an automated email from the ASF dual-hosted git repository.
thiagohp pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tapestry-5.git
The following commit(s) were added to refs/heads/master by this push:
new b9996a7 Trying to work around a bug in Javadoc
b9996a7 is described below
commit b9996a7f7d6281eff76c77c3a771d931f14531b2
Author: Thiago H. de Paula Figueiredo <th...@arsmachina.com.br>
AuthorDate: Wed Dec 2 00:05:27 2020 -0300
Trying to work around a bug in Javadoc
which causes a "javadoc: error - The code being documented uses modules
but the packages defined in https://docs.oracle.com/javase/8/docs/api/
are in the unnamed module." error when running in JDK 11.
---
build.gradle | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/build.gradle b/build.gradle
index 28d60ed..44f7e1a 100755
--- a/build.gradle
+++ b/build.gradle
@@ -604,6 +604,11 @@ if (canDeploy) {
}
}
+// From https://github.com/gradle/gradle/issues/11182
+javadoc {
+ options.addStringOption("-release", "8");
+}
+
boolean isSnapshot() {
project.version.contains("SNAPSHOT")
}