Add Javadoc build script to gradle