update build.gradle to generate jar from javadoc