File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed
instrumentation/spring/spring-security-config-6.0 Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -21,13 +21,20 @@ dependencies {
2121 library(" org.springframework.security:spring-security-web:6.0.0" )
2222 library(" io.projectreactor:reactor-core:3.5.0" )
2323
24+ // SpringExtension in spring-test 7 requires JUnit 6
25+ testImplementation(platform(" org.junit:junit-bom:6.0.1" ))
26+
2427 testLibrary(" org.springframework:spring-test:6.0.0" )
2528 testLibrary(" org.springframework:spring-context:6.0.0" )
26- // can't use testLibrary for now because 6.2.0-M1 is latest and its POM referes to a missing
29+ // can't use testLibrary for now because 6.2.0-M1 is latest and its POM refers to a missing
2730 // parent POM, switch back to testLibrary when a new version is released
2831 // testLibrary("jakarta.servlet:jakarta.servlet-api:6.0.0")
2932 testImplementation(" jakarta.servlet:jakarta.servlet-api:6.0.0" )
3033 latestDepTestLibrary(" jakarta.servlet:jakarta.servlet-api:6.1.0" ) // documented limitation
34+ // remove after 7.0 is released for spring security
35+ // spring-test 7 requires spring-context 7
36+ latestDepTestLibrary(" org.springframework:spring-context:latest.release" )
37+ latestDepTestLibrary(" org.springframework:spring-web:latest.release" )
3138}
3239
3340otelJava {
Original file line number Diff line number Diff line change @@ -16,7 +16,13 @@ dependencies {
1616
1717 implementation(project(" :instrumentation:reactor:reactor-3.1:library" ))
1818
19+ // SpringExtension in spring-test 7 requires JUnit 6
20+ testImplementation(platform(" org.junit:junit-bom:6.0.1" ))
21+
1922 testLibrary(" org.springframework:spring-test:6.0.0" )
23+ // remove after 7.0 is released for spring security
24+ // spring-test 7 requires spring-context 7
25+ latestDepTestLibrary(" org.springframework:spring-context:latest.release" )
2026}
2127
2228otelJava {
You can’t perform that action at this time.
0 commit comments