Spock initial setup - does not work with Lambdas.
Refactored for gradle.