may help you . I have a multi-project gradle build that has several Grails app. One of these app contains many artefacts (controllers, services, groovy code, etc...). , Add the following lines to the begin of your gradle.build
seems to work fine With Grails 2.4.0 you don't need to make any mention of Spock in BuildConfig.groovy. See the sample project at https://github.com/jeffbrown/spockdemo. When you can, you should look at upgrading to the latest in the 2.4.x line. A number of issues have been addressed since 2.4.0 was released.