Files
spring-restdocs/spring-restdocs-mockmvc/build.gradle
2022-01-12 12:48:36 +00:00

32 lines
861 B
Groovy

plugins {
id "io.spring.compatibility-test" version "0.0.1"
id "java-library"
id "maven-publish"
id "optional-dependencies"
}
description = "Spring REST Docs MockMvc"
dependencies {
api(project(":spring-restdocs-core"))
api("org.springframework:spring-webmvc")
api("org.springframework:spring-test")
implementation("javax.servlet:javax.servlet-api")
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")
}
compatibilityTest {
dependency("Spring Framework") { springFramework ->
springFramework.groupId = "org.springframework"
springFramework.versions = ["5.1.+", "5.2.+", "5.3.+"]
}
}