Files
spring-restdocs/spring-restdocs-restassured/build.gradle
2021-11-18 14:53:24 +00:00

35 lines
1.1 KiB
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") {
exclude group: "commons-logging", module: "commons-logging"
exclude group: "javax.xml.bind", module: "jaxb-api"
}
implementation("jakarta.xml.bind:jakarta.xml.bind-api")
implementation("org.springframework:spring-web")
internal(platform(project(":spring-restdocs-platform")))
testImplementation(testFixtures(project(":spring-restdocs-core")))
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"]
}
}