2323
2424version = project. projectVersion
2525
26- apply plugin :' idea'
27-
2826apply plugin : ' maven-publish'
2927apply plugin : " io.github.gradle-nexus.publish-plugin"
3028
@@ -83,6 +81,19 @@ subprojects { project->
8381 if (ext. isGrailsPlugin) {
8482 apply plugin : " org.graceframework.grace-plugin"
8583 }
84+ else {
85+ apply plugin : " io.spring.dependency-management"
86+
87+ dependencyManagement {
88+ imports {
89+ mavenBom " org.graceframework:grace-bom:$graceVersion "
90+ }
91+ applyMavenExclusions false
92+ generatedPomCustomization {
93+ enabled = false
94+ }
95+ }
96+ }
8697
8798 java {
8899 toolchain {
@@ -107,16 +118,16 @@ subprojects { project->
107118 documentation " info.picocli:picocli:4.6.3"
108119 documentation " com.github.javaparser:javaparser-core:$javaParserCoreVersion "
109120
110- testImplementation " org.spockframework:spock-core: $s pockVersion " , {
121+ testImplementation " org.spockframework:spock-core" , {
111122 exclude group : " org.junit.platform" , module : " junit-platform-engine"
112123 }
113- testImplementation " org.apache.groovy:groovy-test-junit5: ${ groovyVersion } " , {
124+ testImplementation " org.apache.groovy:groovy-test-junit5" , {
114125 exclude group : " org.junit.platform" , module : " junit-platform-launcher"
115126 exclude group : " org.junit.jupiter" , module : " junit-jupiter-engine"
116127 }
117- testImplementation " org.junit.jupiter:junit-jupiter-api: ${ junitJupiterVersion } "
118- testImplementation " org.junit.platform:junit-platform-runner: ${ junitPlatformVersion } "
119- testRuntimeOnly " org.junit.jupiter:junit-jupiter-engine: ${ junitJupiterVersion } "
128+ testImplementation " org.junit.jupiter:junit-jupiter-api"
129+ testImplementation " org.junit.platform:junit-platform-runner"
130+ testRuntimeOnly " org.junit.jupiter:junit-jupiter-engine"
120131 }
121132
122133 java {
0 commit comments