Skip to content
Permalink
Browse files

Improved: Gather the javadoc options in a unique block

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


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1855675 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
mthl committed Mar 16, 2019
1 parent d90431a commit 37806e8d4e03cf0fb4d4ba9ad0bc18dbaae397a1
Showing with 14 additions and 12 deletions.
  1. +14 −12 build.gradle
@@ -58,18 +58,20 @@ List jvmArguments = project.hasProperty('jvmArgs')

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'

0 comments on commit 37806e8

Please sign in to comment.
You can’t perform that action at this time.