Avoid accidental dependency on older version of Byte Buddy

This commit allows Mockito-based tests in spring-test to work again
in Eclipse IDE.

This problem was uncovered while fixing gh-27365
This commit is contained in:
Sam Brannen 2021-09-07 11:32:28 +02:00
parent d7ea4d230f
commit 19283c9245
1 changed files with 6 additions and 2 deletions

View File

@ -30,8 +30,12 @@ dependencies {
optional("org.hamcrest:hamcrest")
optional("org.apache.taglibs:taglibs-standard-jstlel")
optional("net.sourceforge.htmlunit:htmlunit")
optional("org.seleniumhq.selenium:htmlunit-driver")
optional("org.seleniumhq.selenium:selenium-java")
optional("org.seleniumhq.selenium:htmlunit-driver") {
exclude group: "net.bytebuddy", module: "byte-buddy"
}
optional("org.seleniumhq.selenium:selenium-java") {
exclude group: "net.bytebuddy", module: "byte-buddy"
}
optional("org.xmlunit:xmlunit-matchers")
optional("org.skyscreamer:jsonassert")
optional("com.jayway.jsonpath:json-path")