Simplify BouncyCastle workaround and upgrade Fragment (#1926)
* Simplify bouncycastle workaround * Upgrade fragment-ktx to 1.5.x
This commit is contained in:
parent
53fb1eba9f
commit
88151f4bdd
3 changed files with 7 additions and 20 deletions
|
@ -1,13 +0,0 @@
|
|||
/**
|
||||
* 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)
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue