Files
spring-restdocs/spring-restdocs-mockmvc/build.gradle
2021-06-15 10:59:25 +01:00

35 lines
1008 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(project(path: ":spring-restdocs-core", configuration: "testArtifacts"))
testImplementation("junit:junit")
testImplementation("org.assertj:assertj-core")
testImplementation("org.hamcrest:hamcrest-library")
testImplementation("org.mockito:mockito-core")
testImplementation("org.springframework.hateoas:spring-hateoas")
testRuntimeOnly("commons-logging:commons-logging:1.2")
}
compatibilityTest {
dependency("Spring Framework") { springFramework ->
springFramework.groupId = "org.springframework"
springFramework.versions = ["5.1.+", "5.2.+", "5.3.+"]
}
}