From df19b444ddd32d3afd10ed0b76c1b2f68d985968 Mon Sep 17 00:00:00 2001 From: Shams Asari Date: Mon, 17 Jun 2019 19:27:35 +0100 Subject: [PATCH] CORDA-2333: Reverting jersey and mockito as it currently causes issues with ENT (#5228) --- build.gradle | 5 +++-- testing/node-driver/build.gradle | 1 - 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index e15127a387..3733060325 100644 --- a/build.gradle +++ b/build.gradle @@ -45,7 +45,7 @@ buildscript { // upgrade Jackson only when corda is using kotlin 1.3.10 ext.jackson_version = '2.9.5' ext.jetty_version = '9.4.18.v20190429' - ext.jersey_version = '2.28' + ext.jersey_version = '2.25' ext.servlet_version = '4.0.1' ext.assertj_version = '3.12.2' ext.slf4j_version = '1.7.25' @@ -68,7 +68,8 @@ buildscript { ext.junit_vintage_version = '5.5.0-RC1' ext.junit_jupiter_version = '5.5.0-RC1' ext.junit_platform_version = '1.5.0-RC1' - ext.mockito_version = '2.28.2' + // TODO Update this to the latest version when hibernate is updated + ext.mockito_version = '2.18.3' ext.mockito_kotlin_version = '1.6.0' ext.hamkrest_version = '1.7.0.0' ext.jopt_simple_version = '5.0.2' diff --git a/testing/node-driver/build.gradle b/testing/node-driver/build.gradle index a28cb14cb2..57151cb385 100644 --- a/testing/node-driver/build.gradle +++ b/testing/node-driver/build.gradle @@ -46,7 +46,6 @@ dependencies { // Jersey for JAX-RS implementation for use in Jetty compile "org.glassfish.jersey.core:jersey-server:${jersey_version}" - compile "org.glassfish.jersey.inject:jersey-hk2:${jersey_version}" compile "org.glassfish.jersey.containers:jersey-container-servlet-core:${jersey_version}" compile "org.glassfish.jersey.containers:jersey-container-jetty-http:${jersey_version}" }