Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit aa7b584

Browse files
committed
Cleanup dependencies
1 parent 33f73ce commit aa7b584

File tree

1 file changed

+6
-19
lines changed

1 file changed

+6
-19
lines changed

build.gradle

Lines changed: 6 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -94,15 +94,8 @@ subprojects { project ->
9494

9595
dependencies {
9696
testCompile "org.codehaus.groovy:groovy-test-junit5:$groovyVersion"
97-
testCompile "org.spockframework:spock-core:$spockVersion", {
98-
exclude group: 'junit', module: 'junit-dep'
99-
exclude group: 'org.codehaus.groovy', module: 'groovy-all'
100-
exclude group: 'org.hamcrest', module: 'hamcrest-core'
101-
transitive = false
102-
}
97+
testCompile("org.spockframework:spock-core:$spockVersion") { transitive = false}
10398
testCompile "org.junit.jupiter:junit-jupiter-api:5.6.0"
104-
testCompile "org.junit.platform:junit-platform-runner:1.6.0"
105-
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:5.6.0"
10699
}
107100

108101
apply from: "${rootProject.projectDir}/gradle/testVerbose.gradle"
@@ -154,14 +147,15 @@ subprojects { project ->
154147

155148
configurations {
156149
documentation
150+
}
157151

158-
all {
152+
// Uncomment below code to force refresh dependencies
153+
/*configurations.all {
159154
resolutionStrategy {
160155
cacheDynamicVersionsFor 0, 'hours'
161156
cacheChangingModulesFor 0, 'hours'
162157
}
163-
}
164-
}
158+
}*/
165159

166160
if(isPluginProject) {
167161
group "org.grails.plugins"
@@ -204,15 +198,8 @@ subprojects { project ->
204198
documentation 'info.picocli:picocli:3.8.2'
205199

206200
testCompile "org.codehaus.groovy:groovy-test-junit5:$groovyVersion"
207-
testCompile "org.spockframework:spock-core:$spockVersion", {
208-
exclude group: 'junit', module: 'junit-dep'
209-
exclude group: 'org.codehaus.groovy', module: 'groovy-all'
210-
exclude group: 'org.hamcrest', module: 'hamcrest-core'
211-
transitive = false
212-
}
201+
testCompile("org.spockframework:spock-core:$spockVersion") { transitive = false}
213202
testCompile "org.junit.jupiter:junit-jupiter-api:5.6.0"
214-
testCompile "org.junit.platform:junit-platform-runner:1.6.0"
215-
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:5.6.0"
216203
documentation "info.picocli:picocli:$picocliVersion"
217204
}
218205

0 commit comments

Comments
 (0)