diff --git a/build.gradle b/build.gradle index 38860c6d22..f0a1c29a08 100644 --- a/build.gradle +++ b/build.gradle @@ -383,8 +383,6 @@ allprojects { url "${publicArtifactURL}/corda-dependencies-dev" content { includeGroup 'co.paralleluniverse' - // Remove below when BC 2.73.6 is released - includeGroup 'org.bouncycastle' } } maven { @@ -464,6 +462,11 @@ allprojects { // Effectively delete this unused and unwanted transitive dependency of Artemis. substitute module('org.jgroups:jgroups') with module("org.apache.activemq:artemis-commons:$artemis_version") + + // Force use of LTS version of BC everywhere + substitute module('org.bouncycastle:bcutil-jdk18on') with module("org.bouncycastle:bcutil-lts8on:$bouncycastle_version") + substitute module('org.bouncycastle:bcprov-jdk18on') with module("org.bouncycastle:bcprov-lts8on:$bouncycastle_version") + substitute module('org.bouncycastle:bcpkix-jdk18on') with module("org.bouncycastle:bcpkix-lts8on:$bouncycastle_version") } // FORCE Gradle to use latest SNAPSHOT dependencies. diff --git a/constants.properties b/constants.properties index 53e63d1636..de99c0c42b 100644 --- a/constants.properties +++ b/constants.properties @@ -21,7 +21,7 @@ quasarVersion=0.9.0_r3 dockerJavaVersion=3.2.5 proguardVersion=7.3.1 # Switch to release version when out -bouncycastleVersion=2.73.6-SNAPSHOT +bouncycastleVersion=2.73.6 classgraphVersion=4.8.135 disruptorVersion=3.4.2 typesafeConfigVersion=1.3.4