Update build.gradle to include dependencies on classpath for Javadoc