I have set up a very simple (not to say trivial) groovy project. When i try to build with gradle, gradle complains it is unable to resolve classes from the groovy.util package.
Hey Peter, I trink the groovy 2.0.1 distribution is modularized more than the former groovy versions. you can either use “org.codehaus.groovy:groovy-all:2.0.1” or add “org.codehaus.groovy:groovy-xml:2.0.1” to your existing build
In addition to René’s comment, not that you don’t need to explicitly add it to the ‘testCompile’ configuration as this configuration inherits from the ‘groovy’ configuration.