I don't recommend disabling JavaDoc generation. Instead, try just running
./gradlew javadoc
This should give you detailed log output about the warnings and errors that are occurring. Fixing these errors should prevent JavaDoc from causing the failure.