The following build.gradle snippet
dependencies {
testImplementation platform("org.junit:junit-bom:5.6.2")
testImplementation 'org.junit.jupiter:junit-jupiter-api'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
testRuntimeOnly 'org.junit.platform:junit-platform-runner'
testImplementation "org.assertj:assertj-core:3.16.1"
testImplementation "org.xmlunit:xmlunit-core:2.7.0"
testImplementation "org.xmlunit:xmlunit-assertj:2.7.0"
}
fails to resolve Byte Buddy with the following error:
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':server:compileTestJava'.
> Could not resolve all files for configuration ':server:testCompileClasspath'.
> Could not find net.bytebuddy:byte-buddy:.
Required by:
project :server > org.xmlunit:xmlunit-assertj:2.7.0
Which version of Byte Buddy do I need to include?
assertj-core itself depends on Byte Buddy already but shades the dependency into it's own jar.
The following
build.gradlesnippetdependencies { testImplementation platform("org.junit:junit-bom:5.6.2") testImplementation 'org.junit.jupiter:junit-jupiter-api' testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine' testRuntimeOnly 'org.junit.platform:junit-platform-launcher' testRuntimeOnly 'org.junit.platform:junit-platform-runner' testImplementation "org.assertj:assertj-core:3.16.1" testImplementation "org.xmlunit:xmlunit-core:2.7.0" testImplementation "org.xmlunit:xmlunit-assertj:2.7.0" }fails to resolve Byte Buddy with the following error:
Which version of Byte Buddy do I need to include?
assertj-coreitself depends on Byte Buddy already but shades the dependency into it's own jar.