Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
26 lines (14 sloc) 614 Bytes

Example code for article about Spock to be written for Java magazine

To run with Maven:

  1. Make sure you have Maven installed. The build was tested to work with Maven 3 and Java 1.6.

  2. Type > mvn install

  3. Type > java -jar target/SpockSnippets-*-jar-with-dependencies.jar

To run with Gradle:

  1. Make sure you have Gradle installed. The build was tested to work with Gradle 1.0 milestone 3 and Java 1.6.

  2. Type > gradle build

  3. Type > java -jar build/libs/SpockSnippets-*.jar

Have fun!