blob: 8820dcab04494023c4e33e4048d044e70317461d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
/*
* Copyright © 2014-2024 The Android Password Store Authors. All Rights Reserved.
* SPDX-License-Identifier: GPL-3.0-only
*/
plugins {
id("com.github.android-password-store.git-hooks")
id("com.github.android-password-store.kotlin-common")
id("com.github.android-password-store.spotless")
id("com.github.android-password-store.versions")
}
// 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" && requested.name.endsWith("-jdk18on")) {
useVersion(libs.versions.bouncycastle.get())
}
}
}
}
|