Execute docs task on Evergreen instead of javadoc task, as docs is what is used for the release
@@ -12,4 +12,4 @@ echo "Compiling java driver with jdk8"
# We always compile with the latest version of java
export JAVA_HOME="/opt/java/jdk8"
./gradlew -version
-./gradlew -PxmlReports.enabled=true --info -x test clean check jar testClasses javadoc
+./gradlew -PxmlReports.enabled=true --info -x test clean check jar testClasses docs
