From 503328326c0970534377642f2d2243ffb62dbab3 Mon Sep 17 00:00:00 2001 From: Antony Denyer Date: Tue, 26 Jul 2022 09:20:19 +0100 Subject: [PATCH] A transitive dependency is still sneaking in somehow Use strictly to force the issue. Signed-off-by: Antony Denyer --- acceptance-tests/tests/build.gradle | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/acceptance-tests/tests/build.gradle b/acceptance-tests/tests/build.gradle index e19a49319fc..89b1fab0ab1 100644 --- a/acceptance-tests/tests/build.gradle +++ b/acceptance-tests/tests/build.gradle @@ -11,10 +11,6 @@ * specific language governing permissions and limitations under the License. */ -buildscript { - configurations.classpath { resolutionStrategy { force 'org.web3j:core:4.9.4' } } -} - plugins { id 'org.web3j' version '4.9.2' id 'org.web3j.solidity' version '0.3.5' @@ -78,6 +74,10 @@ dependencies { testImplementation 'org.web3j:besu' testImplementation 'org.web3j:core' + implementation('org.web3j:core') { + version { strictly('4.9.4') } + } + testRuntimeOnly 'org.junit.vintage:junit-vintage-engine' }