Skip to content

Commit c69e217

Browse files
committed
Add compatibility testing for Framework 6.1
Closes gh-905
1 parent ef07abb commit c69e217

File tree

3 files changed

+21
-0
lines changed

3 files changed

+21
-0
lines changed

spring-restdocs-core/build.gradle

+7
Original file line numberDiff line numberDiff line change
@@ -82,3 +82,10 @@ components.java.withVariantsFromConfiguration(configurations.testFixturesApiElem
8282
components.java.withVariantsFromConfiguration(configurations.testFixturesRuntimeElements) {
8383
skip()
8484
}
85+
86+
compatibilityTest {
87+
dependency("Spring Framework") { springFramework ->
88+
springFramework.groupId = "org.springframework"
89+
springFramework.versions = ["6.1.+"]
90+
}
91+
}

spring-restdocs-mockmvc/build.gradle

+7
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,10 @@ dependencies {
2222
testImplementation("org.hamcrest:hamcrest-library")
2323
testImplementation("org.mockito:mockito-core")
2424
}
25+
26+
compatibilityTest {
27+
dependency("Spring Framework") { springFramework ->
28+
springFramework.groupId = "org.springframework"
29+
springFramework.versions = ["6.1.+"]
30+
}
31+
}

spring-restdocs-webtestclient/build.gradle

+7
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,10 @@ dependencies {
2121

2222
testRuntimeOnly("org.springframework:spring-context")
2323
}
24+
25+
compatibilityTest {
26+
dependency("Spring Framework") { springFramework ->
27+
springFramework.groupId = "org.springframework"
28+
springFramework.versions = ["6.1.+"]
29+
}
30+
}

0 commit comments

Comments
 (0)