Skip to content

Commit 9b9a650

Browse files
feat: update spock version to 2.4-M7
1 parent f38cc2e commit 9b9a650

File tree

3 files changed

+7
-9
lines changed

3 files changed

+7
-9
lines changed

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,14 @@ dependencies {
2727
testImplementation project(':dd-java-agent:agent-ci-visibility:civisibility-instrumentation-test-fixtures')
2828

2929
testImplementation group: 'org.junit.platform', name: 'junit-platform-launcher', version: libs.versions.junit.platform.get()
30-
testImplementation group: 'org.spockframework', name: 'spock-core', version: "2.2-groovy-${spockGroovyVersion}"
30+
testImplementation group: 'org.spockframework', name: 'spock-core', version: "2.4-M7-groovy-${spockGroovyVersion}"
3131

3232
latestDepTestImplementation group: 'org.spockframework', name: 'spock-core', version: '2.+'
3333
}
3434

3535
configurations.matching({ it.name.startsWith('test') }).configureEach({
3636
it.resolutionStrategy {
37-
force group: 'org.junit.platform', name: 'junit-platform-launcher', version: libs.versions.junit.platform.get()
38-
force group: 'org.spockframework', name: 'spock-core', version: "2.2-groovy-${spockGroovyVersion}"
37+
force group: 'org.spockframework', name: 'spock-core', version: "2.4-M7-groovy-${spockGroovyVersion}"
3938
}
4039
})
4140

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -187,10 +187,9 @@ org.slf4j:slf4j-api:1.7.36=latestDepTestRuntimeClasspath,testRuntimeClasspath
187187
org.slf4j:slf4j-api:2.0.17=spotbugs,spotbugsSlf4j
188188
org.slf4j:slf4j-simple:2.0.17=spotbugsSlf4j
189189
org.snakeyaml:snakeyaml-engine:2.9=instrumentPluginClasspath,latestDepTestRuntimeClasspath,muzzleTooling,runtimeClasspath,testRuntimeClasspath
190-
org.spockframework:spock-bom:2.4-M6-groovy-3.0=latestDepTestCompileClasspath,latestDepTestRuntimeClasspath
190+
org.spockframework:spock-bom:2.4-M7-groovy-3.0=latestDepTestCompileClasspath,latestDepTestRuntimeClasspath
191191
org.spockframework:spock-core:2.0-groovy-3.0=compileClasspath
192-
org.spockframework:spock-core:2.2-groovy-3.0=testCompileClasspath,testRuntimeClasspath
193-
org.spockframework:spock-core:2.4-M6-groovy-3.0=latestDepTestCompileClasspath,latestDepTestRuntimeClasspath
192+
org.spockframework:spock-core:2.4-M7-groovy-3.0=latestDepTestCompileClasspath,latestDepTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
194193
org.testng:testng:7.5.1=latestDepTestRuntimeClasspath,testRuntimeClasspath
195194
org.webjars:jquery:3.5.1=latestDepTestRuntimeClasspath,testRuntimeClasspath
196195
org.xmlresolver:xmlresolver:5.3.3=spotbugs

gradle/libs.versions.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,10 @@ moshi = "1.11.0"
6363

6464
# Testing
6565
junit4 = "4.13.2"
66-
junit5 = "5.12.2"
67-
junit-platform = "1.12.2"
66+
junit5 = "5.14.1"
67+
junit-platform = "1.14.1"
6868
mockito = "4.4.0"
69-
spock = "2.4-M6-groovy-3.0"
69+
spock = "2.4-M7-groovy-3.0"
7070
testcontainers = "1.21.3"
7171

7272
[libraries]

0 commit comments

Comments
 (0)