Let me define the cases for wrapper:
case 1:
a. the line in gradlew.bat : set DEFAULT_JVM_OPTS=-Duser.country=US -Duser.language=en
b. the line in gradle.properties : org.gradle.daemon=false
command : gradlew clean javadoc and the result is OK !!
case 2:
a. the line in gradlew.bat : set DEFAULT_JVM_OPTS=-Duser.country=US -Duser.language=en
b. the line in gradle.properties : org.gradle.daemon=true
command : gradlew clean javadoc and the result is javadoc: error - invalid flag: -qu?et FAILED !!
it does not make any sense to add the line org.gradle.jvmargs=-Duser.country=US -Duser.language=en
for the case 2
I will follow the case 1 and i can build gobblin for now. Thank you very much for your effort. I am going to look after for the fix.
If you have any other advices for the case2, please let me know.
UPDATE : java.util.MissingResourceException: Can’t find resource for bundle com.sun.tools
.doclets.internal.toolkit.resources.doclets, key doclet.²nterface
Fixed using :
subprojects {
tasks.withType(Javadoc).all { enabled = false }
}