Skip to content

Commit 612eae0

Browse files
Tweaking build.
1 parent 2b04db3 commit 612eae0

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

dd-java-agent/instrumentation/junit/junit-5.3/spock-junit-5/build.gradle

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ muzzle {
1414
addTestSuiteForDir('latestDepTest', 'test')
1515

1616
dependencies {
17+
testImplementation 'org.codehaus.groovy:groovy-all:3.0.24'
1718
implementation project(':dd-java-agent:instrumentation:junit:junit-5.3')
1819

1920
compileOnly group: 'org.junit.platform', name: 'junit-platform-launcher', version: '1.7.2'
@@ -28,6 +29,12 @@ dependencies {
2829
latestDepTestImplementation group: 'org.spockframework', name: 'spock-core', version: '2.+'
2930
}
3031

32+
configurations {
33+
testImplementation {
34+
exclude group: 'org.apache.groovy'
35+
}
36+
}
37+
3138
configurations.matching({ it.name.startsWith('test') }).configureEach({
3239
it.resolutionStrategy {
3340
force group: 'org.junit.platform', name: 'junit-platform-launcher', version: libs.versions.junit.platform.get()

dd-smoke-tests/gradle/build.gradle

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,6 @@ configurations {
2424
}
2525
}
2626

27-
configurations.named('testImplementation') {
28-
resolutionStrategy {
29-
force 'org.spockframework:spock-core:2.4-M6-groovy-3.0'
30-
}
31-
}
32-
3327
tasks.named("test", Test) {
3428
testLogging {
3529
events "passed", "skipped", "failed", "standardOut", "standardError"

0 commit comments

Comments
 (0)