I don't know Grape, but you probably need to add the groovy plugin in your dependencies in order to compile the Spock tests.
Gradle example:
plugins { id 'java' id 'groovy' }