use gradle 2.0
patched Compile Task in Java because of weirfd groovy incompatibility
Upgrade groovy version to 2.3.4