Skip to content

Commit 14ed39d

Browse files
committed
[Build] Use mockito-core + force latest ByteBuddy dependency.
1 parent 0bfb2ab commit 14ed39d

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

build.gradle

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ def toolchainLauncher = javaToolchains.launcherFor {
4848
def checkstyleVersion = '8.39'
4949
def hamcrestVersion = '2.2'
5050
def mockitoVersion = '3.9.0'
51+
def byteBuddyVersion = '1.10.22'
5152
def junitVersion = '5.7.1'
5253
def jmhVersion = '1.29'
5354
def agronaVersion = '1.9.0'
@@ -145,6 +146,9 @@ allprojects {
145146
configurations.all {
146147
resolutionStrategy {
147148
failOnVersionConflict()
149+
150+
force "net.bytebuddy:byte-buddy:${byteBuddyVersion}",
151+
"net.bytebuddy:byte-buddy-agent:${byteBuddyVersion}"
148152
}
149153
}
150154

@@ -239,10 +243,7 @@ project(':sbe-tool') {
239243
}
240244
testImplementation files('build/classes/java/generated')
241245
testImplementation "org.hamcrest:hamcrest:${hamcrestVersion}"
242-
testImplementation ("org.mockito:mockito-junit-jupiter:${mockitoVersion}") {
243-
exclude group: 'org.junit.jupiter'
244-
}
245-
testImplementation "org.junit.jupiter:junit-jupiter-api:${junitVersion}"
246+
testImplementation "org.mockito:mockito-core:${mockitoVersion}"
246247
testImplementation "org.junit.jupiter:junit-jupiter-params:${junitVersion}"
247248
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:${junitVersion}"
248249
}

0 commit comments

Comments
 (0)