Author: mthl Date: Sat Oct 19 13:40:52 2019 New Revision: 1868624 URL: http://svn.apache.org/viewvc?rev=1868624&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/branches/release18.12/build.gradle Modified: ofbiz/ofbiz-framework/branches/release18.12/build.gradle URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/branches/release18.12/build.gradle?rev=1868624&r1=1868623&r2=1868624&view=diff ============================================================================== --- ofbiz/ofbiz-framework/branches/release18.12/build.gradle (original) +++ ofbiz/ofbiz-framework/branches/release18.12/build.gradle Sat Oct 19 13:40:52 2019 @@ -55,6 +55,7 @@ ext.ofbizMainClass = 'org.apache.ofbiz.b javadoc.failOnError = true javadoc.options { + source '8' encoding "UTF-8" charSet "UTF-8" // Those external Javadoc links should correspond to the actual