build.gradle: update javadoc links
build.gradle: update to gradle 2.2