1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2024-11-29 07:42:06 +01:00

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 { project.ext {
slf4jVersion = '1.7.32'
logbackVersion = '1.2.9'
junitVersion = '5.8.2'
sopJavaVersion = '1.2.0'
rootConfigDir = new File(rootDir, 'config') rootConfigDir = new File(rootDir, 'config')
gitCommit = getGitCommit() gitCommit = getGitCommit()
isContinuousIntegrationEnvironment = Boolean.parseBoolean(System.getenv('CI')) isContinuousIntegrationEnvironment = Boolean.parseBoolean(System.getenv('CI'))

View file

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

View file

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