Use groovy-bom as platform

main
Leonard Brünings 3 years ago
parent d86a025029
commit 0aef5576a4

@ -15,7 +15,8 @@ repositories {
dependencies { dependencies {
// mandatory dependencies for using Spock // mandatory dependencies for using Spock
implementation 'org.apache.groovy:groovy:4.0.5' implementation platform('org.apache.groovy:groovy-bom:4.0.5')
implementation 'org.apache.groovy:groovy'
testImplementation platform("org.spockframework:spock-bom:2.2-groovy-4.0") testImplementation platform("org.spockframework:spock-bom:2.2-groovy-4.0")
testImplementation "org.spockframework:spock-core" 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 testImplementation "org.spockframework:spock-junit4" // you can remove this if your code does not rely on old JUnit 4 rules
@ -27,7 +28,7 @@ dependencies {
// dependencies used by examples in this project // dependencies used by examples in this project
testRuntimeOnly "com.h2database:h2:2.1.214" testRuntimeOnly "com.h2database:h2:2.1.214"
implementation "org.apache.groovy:groovy-sql:4.0.5" implementation "org.apache.groovy:groovy-sql"
} }
test { test {

Loading…
Cancel
Save