From ea82565cd63f7c57d96642dc7ffe126d584f849c Mon Sep 17 00:00:00 2001 From: Graham Date: Sun, 31 May 2020 21:02:58 +0100 Subject: [PATCH] Update Bouncy Castle The provider and PKIX jars seem to be versioned independently. Signed-off-by: Graham --- buildSrc/src/main/java/Versions.kt | 3 ++- crypto/build.gradle.kts | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/buildSrc/src/main/java/Versions.kt b/buildSrc/src/main/java/Versions.kt index 819355b6c1..625156e658 100644 --- a/buildSrc/src/main/java/Versions.kt +++ b/buildSrc/src/main/java/Versions.kt @@ -1,6 +1,7 @@ object Versions { const val asm = "8.0.1" - const val bouncyCastle = "1.65" + const val bouncyCastlePkix = "1.65" + const val bouncyCastleProvider = "1.65.01" const val clikt = "2.7.1" const val commonsCompress = "1.20" const val dependencyLicenseReport = "1.14" diff --git a/crypto/build.gradle.kts b/crypto/build.gradle.kts index fcfe126742..f38da2f8da 100644 --- a/crypto/build.gradle.kts +++ b/crypto/build.gradle.kts @@ -6,8 +6,8 @@ plugins { dependencies { api("com.google.inject:guice:${Versions.guice}") api("io.netty:netty-buffer:${Versions.netty}") - api("org.bouncycastle:bcpkix-jdk15on:${Versions.bouncyCastle}") - api("org.bouncycastle:bcprov-jdk15on:${Versions.bouncyCastle}") + api("org.bouncycastle:bcpkix-jdk15on:${Versions.bouncyCastlePkix}") + api("org.bouncycastle:bcprov-jdk15on:${Versions.bouncyCastleProvider}") testImplementation("com.google.jimfs:jimfs:${Versions.jimfs}") }