Skip to content

Commit

Permalink
Upgraded spock version to '2.0-groovy-3.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
wlodarcp committed Oct 11, 2021
1 parent 71dae2b commit e41047d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 13 deletions.
12 changes: 1 addition & 11 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,12 @@ buildscript {
mavenCentral()
}
lombokVersion = '1.18.22'
spockVersion = '1.3-groovy-2.5'
spockReportsVersion = '1.7.1'
coverallsVersion = '2.8.2'
disruptorVersion = '3.4.4'
reflectionsVersion = '0.9.11'
feignVersion = '2.2.3.RELEASE'
jacksonVersion = '2.11.1'
podamVersion = '7.2.3.RELEASE'
cglibNodepVersion = '3.3.0'
axionReleasePluginVersion = '1.10.0'
nexusStagingPluginVersion = '0.20.0'
nexusPublishPluginVersion = '0.2.0'
Expand Down Expand Up @@ -70,16 +67,9 @@ dependencies {

compileOnly "org.projectlombok:lombok:$lombokVersion"
annotationProcessor "org.projectlombok:lombok:$lombokVersion"
//TODO This duplicated dependencies can be removed after gradle update
testCompileOnly "org.projectlombok:lombok:$lombokVersion"
testAnnotationProcessor "org.projectlombok:lombok:$lombokVersion"
testCompile 'org.glassfish.jersey.core:jersey-common:2.22.2'

testCompile "org.codehaus.groovy:groovy-all:$groovyAllVersion"
testCompile "org.spockframework:spock-core:$spockVersion"
testCompile("com.athaydes:spock-reports:$spockReportsVersion") {
transitive = false //this avoids affecting your version of Groovy/Spock in Spock reports
}
testCompile "cglib:cglib-nodep:$cglibNodepVersion"
}

javadoc {
Expand Down
16 changes: 14 additions & 2 deletions gradle/test.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
buildscript{
ext {
groovyAllVersion = '3.0.9'
spockVersion = '2.0-groovy-3.0'
spockReportsVersion = '1.7.1'
jsonSchemaValidatorVersion = '2.2.14'
jacksonDatatypeJsr310Version = '2.8.10'
cglibNodepVersion = '3.3.0'
jerseyCommonVerion = '2.22.2'
}
repositories(repos)
}
Expand All @@ -15,8 +20,15 @@ sourceSets {
}

dependencies {
testCompile "com.github.java-json-tools:json-schema-validator:$jsonSchemaValidatorVersion"
testCompile "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:$jacksonDatatypeJsr310Version"
testCompile "org.glassfish.jersey.core:jersey-common:${jerseyCommonVerion}"
testCompile "org.codehaus.groovy:groovy-all:${groovyAllVersion}"
testCompile "org.spockframework:spock-core:${spockVersion}"
testCompile("com.athaydes:spock-reports:${spockReportsVersion}") {
transitive = false //this avoids affecting your version of Groovy/Spock in Spock reports
}
testCompile "cglib:cglib-nodep:${cglibNodepVersion}"
testCompile "com.github.java-json-tools:json-schema-validator:${jsonSchemaValidatorVersion}"
testCompile "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:${jacksonDatatypeJsr310Version}"
}

idea {
Expand Down

0 comments on commit e41047d

Please sign in to comment.