fixup
Add a hook to the build to disable doc publishing and genjavadoc

Handy when varying other build parameters, such as `scalaVersion`,
results in unavailabilty of genjavadoc or in a Scaladoc bug.