diff --git a/build-tools-internal/build.gradle b/build-tools-internal/build.gradle index 51262f05744c2..034d7d7aa0334 100644 --- a/build-tools-internal/build.gradle +++ b/build-tools-internal/build.gradle @@ -258,7 +258,7 @@ dependencies { integTestImplementation("org.junit.jupiter:junit-jupiter") { because 'allows to write and run Jupiter tests' } - integTestImplementation("net.bytebuddy:byte-buddy:1.11.0") { + integTestImplementation("net.bytebuddy:byte-buddy:1.12.9") { because 'Generating dynamic mocks of internal libraries like JdkJarHell' } testRuntimeOnly("org.junit.vintage:junit-vintage-engine") { diff --git a/client/test/build.gradle b/client/test/build.gradle index e254d0fd6c614..4a681a94657e9 100644 --- a/client/test/build.gradle +++ b/client/test/build.gradle @@ -25,8 +25,8 @@ dependencies { api "org.hamcrest:hamcrest:${versions.hamcrest}" // mockito - api 'org.mockito:mockito-core:4.0.0' - api 'net.bytebuddy:byte-buddy:1.11.19' + api 'org.mockito:mockito-core:4.4.0' + api 'net.bytebuddy:byte-buddy:1.12.9' api 'org.objenesis:objenesis:3.2' } diff --git a/test/framework/build.gradle b/test/framework/build.gradle index 74bb7d58887af..d86ed1f49db35 100644 --- a/test/framework/build.gradle +++ b/test/framework/build.gradle @@ -26,8 +26,8 @@ dependencies { api "commons-codec:commons-codec:${versions.commonscodec}" // mockito - api 'org.mockito:mockito-core:4.0.0' - api 'net.bytebuddy:byte-buddy:1.11.19' + api 'org.mockito:mockito-core:4.4.0' + api 'net.bytebuddy:byte-buddy:1.12.9' api 'org.objenesis:objenesis:3.2' api "org.elasticsearch:mocksocket:${versions.mocksocket}"