From 64b31260fb9c4cf929bce325289aae59b3aa86dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Filip=20Drobnjakovi=C4=87?= Date: Fri, 20 Jan 2023 03:01:24 +0100 Subject: [PATCH] pin bcel version to 6.6.1 (#270) Signed-off-by: Filip Drobnjakovic Signed-off-by: Filip Drobnjakovic --- build.gradle | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/build.gradle b/build.gradle index f158c70ce..1a0e54d08 100644 --- a/build.gradle +++ b/build.gradle @@ -357,6 +357,16 @@ dependencies { testImplementation group: 'junit', name: 'junit', version: '4.12' } +configurations.each { + c -> c.resolutionStrategy.dependencySubstitution { + all { DependencySubstitution dependency -> + if (dependency.requested.group == 'org.apache.bcel') { + dependency.useTarget 'org.apache.bcel:bcel:6.6.1' + } + } + } +} + protobuf { protoc { artifact = "com.google.protobuf:protoc:3.21.12"