Files
spring-restdocs/spring-restdocs-webtestclient/build.gradle
Andy Wilkinson c69e2176e4 Add compatibility testing for Framework 6.1
Closes gh-905
2023-11-14 10:18:37 +00:00

31 lines
820 B
Groovy

plugins {
id "io.spring.compatibility-test" version "0.0.2"
id "java-library"
id "maven-publish"
}
description = "Spring REST Docs WebFlux"
dependencies {
api(project(":spring-restdocs-core"))
api("org.springframework:spring-test")
api("org.springframework:spring-webflux")
internal(platform(project(":spring-restdocs-platform")))
testImplementation(testFixtures(project(":spring-restdocs-core")))
testImplementation("junit:junit")
testImplementation("org.assertj:assertj-core")
testImplementation("org.hamcrest:hamcrest-library")
testImplementation("org.mockito:mockito-core")
testRuntimeOnly("org.springframework:spring-context")
}
compatibilityTest {
dependency("Spring Framework") { springFramework ->
springFramework.groupId = "org.springframework"
springFramework.versions = ["6.1.+"]
}
}