diff --git a/pgpainless-core/build.gradle b/pgpainless-core/build.gradle index f1b852ca..3c73121f 100644 --- a/pgpainless-core/build.gradle +++ b/pgpainless-core/build.gradle @@ -21,7 +21,8 @@ dependencies { // Bouncy Castle api "org.bouncycastle:bcprov-jdk15to18:$bouncyCastleVersion" - api "org.bouncycastle:bcpg-jdk15to18:$bouncyCastleVersion" + api "org.bouncycastle:bcpg-jdk15to18:$bouncyPgVersion" + // api(files("../libs/bcpg-jdk18on-1.70.jar")) // @Nullable, @Nonnull annotations implementation "com.google.code.findbugs:jsr305:3.0.2" diff --git a/version.gradle b/version.gradle index 1352ec44..9b1dc318 100644 --- a/version.gradle +++ b/version.gradle @@ -8,7 +8,10 @@ allprojects { isSnapshot = true pgpainlessMinAndroidSdk = 10 javaSourceCompatibility = 1.8 - bouncyCastleVersion = '1.71' + bouncyCastleVersion = '1.72' + // unfortunately we rely on 1.72.1 for a patch for https://github.com/bcgit/bc-java/issues/1257 + // which is a bug we introduced with a PR against BC :/ oops + bouncyPgVersion = '1.72.1' junitVersion = '5.8.2' logbackVersion = '1.2.11' mockitoVersion = '4.5.1'