diff --git a/spring-restdocs-core/build.gradle b/spring-restdocs-core/build.gradle index 1bee13f5..4a841707 100644 --- a/spring-restdocs-core/build.gradle +++ b/spring-restdocs-core/build.gradle @@ -26,7 +26,7 @@ task jmustacheRepackJar(type: Jar) { repackJar -> dependencies { compile 'com.fasterxml.jackson.core:jackson-databind' - compile 'org.springframework:spring-webmvc' + compile 'org.springframework:spring-web' compile 'javax.servlet:javax.servlet-api' compile files(jmustacheRepackJar) jarjar 'com.googlecode.jarjar:jarjar:1.3' diff --git a/spring-restdocs-mockmvc/build.gradle b/spring-restdocs-mockmvc/build.gradle index b93fba78..d8a0529c 100644 --- a/spring-restdocs-mockmvc/build.gradle +++ b/spring-restdocs-mockmvc/build.gradle @@ -4,6 +4,7 @@ dependencies { compile 'org.springframework:spring-test' compile project(':spring-restdocs-core') optional 'junit:junit' + runtime 'org.springframework:spring-webmvc' testCompile 'org.mockito:mockito-core' testCompile 'org.hamcrest:hamcrest-library'