Restructure dependencies and version.gradle

This commit is contained in:
Paul Schaub 2022-04-07 19:40:56 +02:00
parent 53017d2d38
commit 6b3f37796c
Signed by: vanitasvitae
GPG Key ID: 62BEE9264BF17311
3 changed files with 7 additions and 6 deletions

View File

@ -71,10 +71,6 @@ allprojects {
}
project.ext {
slf4jVersion = '1.7.32'
logbackVersion = '1.2.9'
junitVersion = '5.8.2'
sopJavaVersion = '1.2.0'
rootConfigDir = new File(rootDir, 'config')
gitCommit = getGitCommit()
isContinuousIntegrationEnvironment = Boolean.parseBoolean(System.getenv('CI'))

View File

@ -7,6 +7,7 @@ plugins {
}
dependencies {
// JUnit
testImplementation "org.junit.jupiter:junit-jupiter-api:$junitVersion"
testImplementation "org.junit.jupiter:junit-jupiter-params:$junitVersion"
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:$junitVersion"
@ -19,6 +20,6 @@ dependencies {
api "org.bouncycastle:bcprov-jdk15to18:$bouncyCastleVersion"
api "org.bouncycastle:bcpg-jdk15to18:$bouncyCastleVersion"
// https://mvnrepository.com/artifact/com.google.code.findbugs/jsr305
implementation group: 'com.google.code.findbugs', name: 'jsr305', version: '3.0.2'
// @Nullable, @Nonnull annotations
implementation "com.google.code.findbugs:jsr305:3.0.2"
}

View File

@ -9,5 +9,9 @@ allprojects {
pgpainlessMinAndroidSdk = 10
javaSourceCompatibility = 1.8
bouncyCastleVersion = '1.71'
slf4jVersion = '1.7.32'
logbackVersion = '1.2.9'
junitVersion = '5.8.2'
sopJavaVersion = '1.2.0'
}
}