diff --git a/build.gradle b/build.gradle index fe9a73a8b..806a32033 100644 --- a/build.gradle +++ b/build.gradle @@ -355,6 +355,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"