svn commit: r1855675 - /ofbiz/ofbiz-framework/trunk/build.gradle

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1855675 - /ofbiz/ofbiz-framework/trunk/build.gradle

mthl
Author: mthl
Date: Sat Mar 16 23:29:03 2019
New Revision: 1855675

URL: http://svn.apache.org/viewvc?rev=1855675&view=rev
Log:
Improved: Gather the javadoc options in a unique block

This is better for readability.  Additionnally we are now using single
quotes for basic strings.

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=1855675&r1=1855674&r2=1855675&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/build.gradle (original)
+++ ofbiz/ofbiz-framework/trunk/build.gradle Sat Mar 16 23:29:03 2019
@@ -58,18 +58,20 @@ List jvmArguments = project.hasProperty(
 
 ext.ofbizMainClass = 'org.apache.ofbiz.base.start.Start'
 
-javadoc.failOnError = true
-javadoc.options {
-    encoding "UTF-8"
-    charSet "UTF-8"
-    // Those external Javadoc links should correspond to the actual
-    // versions declared in the "dependencies" block.
-    links(
-        "https://docs.oracle.com/javase/8/docs/api",
-        "https://docs.oracle.com/javaee/7/api",
-        "http://docs.groovy-lang.org/docs/groovy-2.4.16/html/api",
-        "https://commons.apache.org/proper/commons-cli/apidocs"
-    )
+javadoc {
+    failOnError = true
+    options {
+        encoding 'UTF-8'
+        charSet 'UTF-8'
+        // Those external Javadoc links should correspond to the actual
+        // versions declared in the 'dependencies' block.
+        links(
+            'https://docs.oracle.com/javase/8/docs/api',
+            'https://docs.oracle.com/javaee/7/api',
+            'http://docs.groovy-lang.org/docs/groovy-2.4.16/html/api',
+            'https://commons.apache.org/proper/commons-cli/apidocs'
+        )
+    }
 }
 
 sourceCompatibility = '1.8'