Currently building on Windows is not supported because JarJarTask does not release a file lock.
Please read http://groovy.329449.n5.nabble.com/Build-issue-with-groovy-core-master-td5719619.html for the detail.

I created a patch to support building on Windows.