chore(deps): update dependency org.pgpainless:pgpainless-core to v1.2.0 (#1832)

* chore(deps): update dependency org.pgpainless:pgpainless-core to v1.2.0

* gradle: bump bouncycastle to 1.71

* Transparently update older BC versions

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
renovate[bot] 2022-04-09 13:49:31 +00:00 committed by GitHub
parent e50b00cd98
commit 18cff9c144
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 18 additions and 2 deletions

View file

@ -0,0 +1,13 @@
/**
* Bouncy Castle 1.71 changed their packaging to stop shipping jdk15on artifacts, and instead use
* multi-release JARs with the jdk15to18 suffix. This plugin replaces older dependencies to use the
* new version and artifact.
*/
configurations.all {
resolutionStrategy.eachDependency {
if (requested.group == "org.bouncycastle" && requested.name.contains("jdk15on")) {
val replacement = "${requested.group}:${requested.name.replace("jdk15on", "jdk15to18")}:1.71"
useTarget(replacement)
}
}
}