1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-29 07:22:07 +01:00

[build] Introduce bouncyCastleVersion variable and use it

Also bumps bouncy castle to 1.65.
This commit is contained in:
Florian Schmaus 2020-05-13 22:20:32 +02:00
parent cd96909ac4
commit 321c91c264
3 changed files with 3 additions and 2 deletions

View file

@ -116,6 +116,7 @@ allprojects {
].collect { project(it) } ].collect { project(it) }
junitVersion = '5.6.0' junitVersion = '5.6.0'
commonsIoVersion = '2.6' commonsIoVersion = '2.6'
bouncyCastleVersion = '1.65'
if (project.hasProperty("useSonatype")) { if (project.hasProperty("useSonatype")) {
useSonatype = project.getProperty("useSonatype").toBoolean() useSonatype = project.getProperty("useSonatype").toBoolean()
} else { } else {

View file

@ -18,7 +18,7 @@ dependencies {
// 'implementation' here since there is no need to shadow it // 'implementation' here since there is no need to shadow it
// outside of the fixtures compilation classpath. That is, no test // outside of the fixtures compilation classpath. That is, no test
// should ever setup Bouncy Castle as security provider explicitly. // should ever setup Bouncy Castle as security provider explicitly.
testFixturesImplementation 'org.bouncycastle:bcprov-jdk15on:1.64' testFixturesImplementation "org.bouncycastle:bcprov-jdk15on:${bouncyCastleVersion}"
testFixturesImplementation 'org.apache.commons:commons-lang3:3.10' testFixturesImplementation 'org.apache.commons:commons-lang3:3.10'
testFixturesApi "org.jxmpp:jxmpp-jid:$jxmppVersion:tests" testFixturesApi "org.jxmpp:jxmpp-jid:$jxmppVersion:tests"

View file

@ -10,7 +10,7 @@ dependencies {
api 'org.pgpainless:pgpainless-core:0.0.1-alpha11' api 'org.pgpainless:pgpainless-core:0.0.1-alpha11'
testImplementation "org.bouncycastle:bcprov-jdk15on:1.65" testImplementation "org.bouncycastle:bcprov-jdk15on:${bouncyCastleVersion}"
testFixturesApi(testFixtures(project(":smack-core"))) testFixturesApi(testFixtures(project(":smack-core")))
testCompile group: 'commons-io', name: 'commons-io', version: "$commonsIoVersion" testCompile group: 'commons-io', name: 'commons-io', version: "$commonsIoVersion"