ENT-11728: Force use of LTS version of BC everywhere. (#7709)

* ENT-11728: Force use of LTS version of BC everywhere.

* ENT-11728: Removed extra task left in.

* ENT-11728: Revert to the now released 2.73.6 version of BC.
This commit is contained in:
Adel El-Beik 2024-04-08 13:09:34 +01:00 committed by GitHub
parent 9ab1b36128
commit 2db7c9656c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 3 deletions

View File

@ -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.

View File

@ -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