Files
spring-restdocs/spring-restdocs-restassured/build.gradle
Andy Wilkinson 7431426cf3 Update tests to use AssertJ
Closes gh-537
2018-08-08 11:22:57 +01:00

17 lines
605 B
Groovy

description = 'Spring REST Docs REST Assured'
dependencies {
compile project(':spring-restdocs-core')
optional 'com.jayway.restassured:rest-assured'
optional 'io.rest-assured:rest-assured'
testCompile 'org.apache.tomcat.embed:tomcat-embed-core:8.5.13'
testCompile 'org.assertj:assertj-core'
testCompile 'org.hamcrest:hamcrest-library'
testCompile 'org.mockito:mockito-core'
testCompile project(path: ':spring-restdocs-core', configuration: 'testArtifacts')
}
test {
jvmArgs "-javaagent:${configurations.jacoco.asPath}=destfile=${buildDir}/jacoco.exec,includes=org.springframework.restdocs.*"
}