Get Javadoc working via Gradle without warnings or errors.