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

32 lines
944 B
Groovy

plugins {
id "io.spring.compatibility-test" version "0.0.1"
id "java-library"
id "maven-publish"
}
description = "Spring REST Docs REST Assured"
dependencies {
api(project(":spring-restdocs-core"))
api("io.rest-assured:rest-assured")
implementation("org.springframework:spring-web")
internal(platform(project(":spring-restdocs-platform")))
testImplementation(project(path: ":spring-restdocs-core", configuration: "testArtifacts"))
testImplementation("com.fasterxml.jackson.core:jackson-databind")
testImplementation("junit:junit")
testImplementation("org.apache.tomcat.embed:tomcat-embed-core:8.5.13")
testImplementation("org.assertj:assertj-core")
testImplementation("org.hamcrest:hamcrest-library")
testImplementation("org.mockito:mockito-core")
}
compatibilityTest {
dependency("REST Assured") { restAssured ->
restAssured.groupId = "io.rest-assured"
restAssured.versions = ["4.0.0", "4.1.2", "4.2.0", "4.3.1"]
}
}