aboutsummaryrefslogtreecommitdiffstats
path: root/build.gradle.kts
diff options
context:
space:
mode:
Diffstat (limited to 'build.gradle.kts')
-rw-r--r--build.gradle.kts9
1 files changed, 6 insertions, 3 deletions
diff --git a/build.gradle.kts b/build.gradle.kts
index 150e3566..8820dcab 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -9,12 +9,15 @@ plugins {
id("com.github.android-password-store.versions")
}
-// Keep every Bouncy Castle module (bcprov, bcpg, bcpkix, bcutil) on one version. They are
-// pulled in by PGPainless and sshj at different versions, and mixing them is unsupported.
+// Keep every Bouncy Castle -jdk18on module (bcprov, bcpg, bcpkix, bcutil) on one version. They
+// are pulled in by PGPainless and sshj at different versions, and mixing them is unsupported.
+// The legacy -jdk15on artifacts (build tooling only) stopped at 1.70 and must be left alone.
subprojects {
configurations.configureEach {
resolutionStrategy.eachDependency {
- if (requested.group == "org.bouncycastle") useVersion(libs.versions.bouncycastle.get())
+ if (requested.group == "org.bouncycastle" && requested.name.endsWith("-jdk18on")) {
+ useVersion(libs.versions.bouncycastle.get())
+ }
}
}
}