Fix optional dependencies having compile scope in poms

Closes gh-729
This commit is contained in:
Andy Wilkinson
2021-06-14 21:42:06 +01:00
parent c0477a6446
commit bf1bfc4075
6 changed files with 30 additions and 10 deletions

View File

@@ -43,6 +43,7 @@ dependencies {
jmustache(platform(project(":spring-restdocs-platform")))
jmustache("com.samskivert:jmustache@jar")
optional(platform(project(":spring-restdocs-platform")))
optional("commons-codec:commons-codec")
optional("javax.validation:validation-api")
optional("junit:junit")