diff --git a/build.gradle b/build.gradle
index 207beea..5fc72b6 100755
--- a/build.gradle
+++ b/build.gradle
@@ -3,8 +3,8 @@ apply plugin: "groovy"
version = "1.0"
description = "Spock Framework - Example Project"
-// Spock works with Java 1.6 and above
-sourceCompatibility = 1.6
+// Spock works with Java 1.7 and above
+sourceCompatibility = 1.7
repositories {
// Spock releases are available from Maven Central
@@ -16,15 +16,15 @@ repositories {
dependencies {
// mandatory dependencies for using Spock
compile "org.codehaus.groovy:groovy-all:2.4.15"
- testCompile "org.spockframework:spock-core:1.1-groovy-2.4"
+ testCompile "org.spockframework:spock-core:1.2-groovy-2.4"
// optional dependencies for using Spock
testCompile "org.hamcrest:hamcrest-core:1.3" // only necessary if Hamcrest matchers are used
- testRuntime "net.bytebuddy:byte-buddy:1.6.5" // allows mocking of classes (in addition to interfaces)
- testRuntime "org.objenesis:objenesis:2.5.1" // allows mocking of classes without default constructor (together with CGLIB)
+ testRuntime "net.bytebuddy:byte-buddy:1.8.21" // allows mocking of classes (in addition to interfaces)
+ testRuntime "org.objenesis:objenesis:2.6" // allows mocking of classes without default constructor (together with CGLIB)
// dependencies used by examples in this project
- testRuntime "com.h2database:h2:1.4.182"
+ testRuntime "com.h2database:h2:1.4.197"
}
// the remaining configuration is specific to this project, and is not required for using Spock
diff --git a/pom.xml b/pom.xml
index 556d284..bbda22d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -39,6 +39,7 @@
false
+ **/*Test.java
**/*Spec.java
@@ -59,25 +60,25 @@
org.spockframework
spock-core
- 1.1-groovy-2.4
+ 1.2-groovy-2.4
test
org.codehaus.groovy
groovy-all
- 2.4.13
+ 2.4.15
net.bytebuddy
byte-buddy
- 1.6.5
+ 1.8.21
test
org.objenesis
objenesis
- 2.5.1
+ 2.6
test
@@ -90,7 +91,7 @@
com.h2database
h2
- 1.4.185
+ 1.4.197