Update to Spock 2.1 and update other dependencies
This commit is contained in:
+4
-4
@@ -15,19 +15,19 @@ repositories {
|
||||
|
||||
dependencies {
|
||||
// mandatory dependencies for using Spock
|
||||
implementation "org.codehaus.groovy:groovy:3.0.8"
|
||||
testImplementation platform("org.spockframework:spock-bom:2.0-groovy-3.0")
|
||||
implementation "org.codehaus.groovy:groovy:3.0.9"
|
||||
testImplementation platform("org.spockframework:spock-bom:2.1-groovy-3.0")
|
||||
testImplementation "org.spockframework:spock-core"
|
||||
testImplementation "org.spockframework:spock-junit4" // you can remove this if your code does not rely on old JUnit 4 rules
|
||||
|
||||
// optional dependencies for using Spock
|
||||
testImplementation "org.hamcrest:hamcrest-core:2.2" // only necessary if Hamcrest matchers are used
|
||||
testRuntimeOnly "net.bytebuddy:byte-buddy:1.11.0" // allows mocking of classes (in addition to interfaces)
|
||||
testRuntimeOnly 'net.bytebuddy:byte-buddy:1.12.7' // allows mocking of classes (in addition to interfaces)
|
||||
testRuntimeOnly "org.objenesis:objenesis:3.2" // allows mocking of classes without default constructor (together with ByteBuddy or CGLIB)
|
||||
|
||||
// dependencies used by examples in this project
|
||||
testRuntimeOnly "com.h2database:h2:2.1.210"
|
||||
implementation "org.codehaus.groovy:groovy-sql:3.0.8"
|
||||
implementation "org.codehaus.groovy:groovy-sql:3.0.9"
|
||||
}
|
||||
|
||||
test {
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||
<groovy.version>3.0.8</groovy.version>
|
||||
<groovy.version>3.0.9</groovy.version>
|
||||
</properties>
|
||||
|
||||
<build>
|
||||
@@ -70,7 +70,7 @@
|
||||
<dependency>
|
||||
<groupId>org.spockframework</groupId>
|
||||
<artifactId>spock-bom</artifactId>
|
||||
<version>2.0-groovy-3.0</version>
|
||||
<version>2.1-groovy-3.0</version>
|
||||
<type>pom</type>
|
||||
<scope>import</scope>
|
||||
</dependency>
|
||||
@@ -98,7 +98,7 @@
|
||||
<dependency> <!-- enables mocking of classes (in addition to interfaces) -->
|
||||
<groupId>net.bytebuddy</groupId>
|
||||
<artifactId>byte-buddy</artifactId>
|
||||
<version>1.11.0</version>
|
||||
<version>1.12.7</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency> <!-- enables mocking of classes without default constructor (together with ByteBuddy or CGLIB) -->
|
||||
|
||||
Reference in New Issue
Block a user