Example code for article about Spock to be written for Java magazine
To run with Maven:
Make sure you have Maven installed. The build was tested to work with Maven 3 and Java 1.6.
> mvn install
> java -jar target/SpockSnippets-*-jar-with-dependencies.jar
To run with Gradle:
Make sure you have Gradle installed. The build was tested to work with Gradle 1.0 milestone 3 and Java 1.6.
> gradle build
> java -jar build/libs/SpockSnippets-*.jar