changed build.gradle to make distZip depend on the assemblence of all
subprojects and added groovy dependency