removed Groovy jar and fixed some compile warnings
ported build scripts to new version