@@ -10,6 +10,7 @@ buildscript {
1010 }
1111 dependencies {
1212 classpath " io.github.gradle-nexus:publish-plugin:2.0.0"
13+ classpath " io.spring.gradle:dependency-management-plugin:$dependencyManagementPluginVersion "
1314 }
1415}
1516
@@ -54,29 +55,40 @@ subprojects {
5455 apply plugin : " signing"
5556 apply plugin : " checkstyle"
5657 apply plugin : " codenarc"
58+ apply plugin : " io.spring.dependency-management"
59+
60+ dependencyManagement {
61+ imports {
62+ mavenBom " org.graceframework:grace-bom:$graceVersion "
63+ }
64+ applyMavenExclusions false
65+ generatedPomCustomization {
66+ enabled = false
67+ }
68+ }
5769
5870 configurations {
5971 documentation
6072 }
6173
6274 dependencies {
63- api " org.apache.groovy:groovy: $g roovyVersion "
64- testImplementation " org.apache.groovy:groovy-test-junit5: $g roovyVersion "
65- testImplementation " org.junit.jupiter:junit-jupiter-api: $j unitJupiterVersion "
66- testImplementation " org.junit.jupiter:junit-jupiter-engine: $j unitJupiterVersion "
67- testImplementation " org.junit.platform:junit-platform-runner: $j unitJupiterPlatformVersion "
68- testImplementation(" org.spockframework:spock-core: $s pockVersion " ) { transitive = false }
75+ api " org.apache.groovy:groovy"
76+ testImplementation " org.apache.groovy:groovy-test-junit5"
77+ testImplementation " org.junit.jupiter:junit-jupiter-api"
78+ testImplementation " org.junit.jupiter:junit-jupiter-engine"
79+ testImplementation " org.junit.platform:junit-platform-runner"
80+ testImplementation(" org.spockframework:spock-core" ) { transitive = false }
6981
7082 if (project. name == " grace-datastore-gorm-tck" ) {
71- api " org.apache.groovy:groovy-test-junit5: $g roovyVersion "
72- api " org.junit.jupiter:junit-jupiter-api: $j unitJupiterVersion "
73- api " org.junit.platform:junit-platform-runner: $j unitJupiterPlatformVersion "
74- runtimeOnly " org.junit.jupiter:junit-jupiter-engine: $j unitJupiterVersion "
75- implementation(" org.spockframework:spock-core: $s pockVersion " ) { transitive = false }
83+ api " org.apache.groovy:groovy-test-junit5"
84+ api " org.junit.jupiter:junit-jupiter-api"
85+ api " org.junit.platform:junit-platform-runner"
86+ runtimeOnly " org.junit.jupiter:junit-jupiter-engine"
87+ implementation(" org.spockframework:spock-core" ) { transitive = false }
7688 }
7789
7890 documentation " org.fusesource.jansi:jansi:2.4.0"
79- documentation " org.apache.groovy:groovy-dateutil: $g roovyVersion "
91+ documentation " org.apache.groovy:groovy-dateutil"
8092 documentation ' info.picocli:picocli:4.6.3'
8193 documentation (" com.github.javaparser:javaparser-core:$javaParserCoreVersion " )
8294 }
0 commit comments