Update Dependencies

main
Leonard Brünings 8 years ago
parent 3f5f52a68e
commit 3d454b9334

1
.gitignore vendored

@ -20,4 +20,5 @@ bin/
*.iws *.iws
*.ipr *.ipr
*.iml *.iml
.idea/
out/ out/

@ -3,8 +3,8 @@ apply plugin: "groovy"
version = "1.0" version = "1.0"
description = "Spock Framework - Example Project" description = "Spock Framework - Example Project"
// Spock works with Java 1.5 and above // Spock works with Java 1.6 and above
sourceCompatibility = 1.5 sourceCompatibility = 1.6
repositories { repositories {
// Spock releases are available from Maven Central // Spock releases are available from Maven Central
@ -16,12 +16,12 @@ repositories {
dependencies { dependencies {
// mandatory dependencies for using Spock // mandatory dependencies for using Spock
compile "org.codehaus.groovy:groovy-all:2.4.1" compile "org.codehaus.groovy:groovy-all:2.4.1"
testCompile "org.spockframework:spock-core:1.0-groovy-2.4" testCompile "org.spockframework:spock-core:1.1-groovy-2.4-rc-3"
// optional dependencies for using Spock // optional dependencies for using Spock
testCompile "org.hamcrest:hamcrest-core:1.3" // only necessary if Hamcrest matchers are used testCompile "org.hamcrest:hamcrest-core:1.3" // only necessary if Hamcrest matchers are used
testRuntime "cglib:cglib-nodep:3.1" // allows mocking of classes (in addition to interfaces) testRuntime "cglib:cglib-nodep:3.2.4" // allows mocking of classes (in addition to interfaces)
testRuntime "org.objenesis:objenesis:2.1" // allows mocking of classes without default constructor (together with CGLIB) testRuntime "org.objenesis:objenesis:2.5.1" // allows mocking of classes without default constructor (together with CGLIB)
// dependencies used by examples in this project // dependencies used by examples in this project
testRuntime "com.h2database:h2:1.4.182" testRuntime "com.h2database:h2:1.4.182"

@ -28,18 +28,18 @@
<dependency <dependency
groupId="org.spockframework" groupId="org.spockframework"
artifactId="spock-core" artifactId="spock-core"
version="1.0-groovy-2.4" /> version="1.1-groovy-2.4-rc-3" />
<!-- Optional dependencies for using Spock --> <!-- Optional dependencies for using Spock -->
<!-- enables mocking of classes (in addition to interfaces) --> <!-- enables mocking of classes (in addition to interfaces) -->
<dependency <dependency
groupId="cglib" groupId="cglib"
artifactId="cglib-nodep" artifactId="cglib-nodep"
version="3.1" /> version="3.2.4" />
<!-- enables mocking of classes without parameterless constructor (together with CGLIB) --> <!-- enables mocking of classes without parameterless constructor (together with CGLIB) -->
<dependency <dependency
groupId="org.objenesis" groupId="org.objenesis"
artifactId="objenesis" artifactId="objenesis"
version="2.1" /> version="2.5.1" />
<!-- only required if Spock's Ant selector is used, which finds spec classes regardless of their name --> <!-- only required if Spock's Ant selector is used, which finds spec classes regardless of their name -->
<dependency <dependency
groupId="org.ow2.asm" groupId="org.ow2.asm"

@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.8-bin.zip distributionUrl=https\://services.gradle.org/distributions/gradle-3.2.1-bin.zip

@ -21,7 +21,7 @@
visit https://github.com/groovy/GMavenPlus/wiki --> visit https://github.com/groovy/GMavenPlus/wiki -->
<groupId>org.codehaus.gmavenplus</groupId> <groupId>org.codehaus.gmavenplus</groupId>
<artifactId>gmavenplus-plugin</artifactId> <artifactId>gmavenplus-plugin</artifactId>
<version>1.4</version> <version>1.5</version>
<executions> <executions>
<execution> <execution>
<goals> <goals>
@ -35,7 +35,7 @@
<!-- Only required if names of spec classes don't match default Surefire patterns (`*Test` etc.) --> <!-- Only required if names of spec classes don't match default Surefire patterns (`*Test` etc.) -->
<plugin> <plugin>
<artifactId>maven-surefire-plugin</artifactId> <artifactId>maven-surefire-plugin</artifactId>
<version>2.6</version> <version>2.18.1</version>
<configuration> <configuration>
<useFile>false</useFile> <useFile>false</useFile>
<includes> <includes>
@ -46,7 +46,7 @@
<!-- Only required for spock-example build --> <!-- Only required for spock-example build -->
<plugin> <plugin>
<artifactId>maven-deploy-plugin</artifactId> <artifactId>maven-deploy-plugin</artifactId>
<version>2.5</version> <version>2.8.2</version>
<configuration> <configuration>
<skip>true</skip> <skip>true</skip>
</configuration> </configuration>
@ -59,25 +59,25 @@
<dependency> <dependency>
<groupId>org.spockframework</groupId> <groupId>org.spockframework</groupId>
<artifactId>spock-core</artifactId> <artifactId>spock-core</artifactId>
<version>1.0-groovy-2.4</version> <version>1.1-groovy-2.4-rc-3</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<!-- Optional dependencies for using Spock --> <!-- Optional dependencies for using Spock -->
<dependency> <!-- use a specific Groovy version rather than the one specified by spock-core --> <dependency> <!-- use a specific Groovy version rather than the one specified by spock-core -->
<groupId>org.codehaus.groovy</groupId> <groupId>org.codehaus.groovy</groupId>
<artifactId>groovy-all</artifactId> <artifactId>groovy-all</artifactId>
<version>2.4.1</version> <version>2.4.7</version>
</dependency> </dependency>
<dependency> <!-- enables mocking of classes (in addition to interfaces) --> <dependency> <!-- enables mocking of classes (in addition to interfaces) -->
<groupId>cglib</groupId> <groupId>cglib</groupId>
<artifactId>cglib-nodep</artifactId> <artifactId>cglib-nodep</artifactId>
<version>3.1</version> <version>3.2.4</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency> <!-- enables mocking of classes without default constructor (together with CGLIB) --> <dependency> <!-- enables mocking of classes without default constructor (together with CGLIB) -->
<groupId>org.objenesis</groupId> <groupId>org.objenesis</groupId>
<artifactId>objenesis</artifactId> <artifactId>objenesis</artifactId>
<version>2.1</version> <version>2.5.1</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency> <!-- only required if Hamcrest matchers are used --> <dependency> <!-- only required if Hamcrest matchers are used -->

Loading…
Cancel
Save