You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by mt...@apache.org on 2019/10/19 13:30:07 UTC
svn commit: r1868622 - /ofbiz/ofbiz-framework/trunk/build.gradle
Author: mthl
Date: Sat Oct 19 13:30:07 2019
New Revision: 1868622
URL: http://svn.apache.org/viewvc?rev=1868622&view=rev
Log:
Fixed: Make ‘javadoc’ build work with recent Java
(OFBIZ-11257)
With a recent OpenJDK release we had the following error
```
> Task :javadoc
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.
javadoc: error - The code being documented uses modules but the
packages defined in https://docs.oracle.com/javaee/7/api/ are in the
unnamed module.
[...]
2 errors
100 warnings
> Task :javadoc FAILED
```
With ‘javadoc --source 8’ this error disappears as described in
JDK-8212233 [1].
[1] https://bugs.openjdk.java.net/browse/JDK-8212233
Modified:
ofbiz/ofbiz-framework/trunk/build.gradle
Modified: ofbiz/ofbiz-framework/trunk/build.gradle
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/build.gradle?rev=1868622&r1=1868621&r2=1868622&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/build.gradle (original)
+++ ofbiz/ofbiz-framework/trunk/build.gradle Sat Oct 19 13:30:07 2019
@@ -90,6 +90,7 @@ distributions.main.contents.from(rootDir
javadoc {
failOnError = true
options {
+ source '8'
encoding 'UTF-8'
charSet 'UTF-8'
// Those external Javadoc links should correspond to the actual