From 0aef5576a479054af7a2386902f95ff9045329a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonard=20Br=C3=BCnings?= Date: Sun, 11 Sep 2022 22:28:17 +0200 Subject: [PATCH] Use groovy-bom as platform --- build.gradle | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 5cc551f..d59b752 100644 --- a/build.gradle +++ b/build.gradle @@ -15,7 +15,8 @@ repositories { dependencies { // 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 "org.spockframework:spock-core" 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 testRuntimeOnly "com.h2database:h2:2.1.214" - implementation "org.apache.groovy:groovy-sql:4.0.5" + implementation "org.apache.groovy:groovy-sql" } test {