1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2024-12-26 21:07:58 +01:00

Globally set slf4j version

This commit is contained in:
Paul Schaub 2021-08-25 16:33:39 +02:00
parent 1124c6fd15
commit 004a761fdb
3 changed files with 6 additions and 1 deletions

View file

@ -60,6 +60,7 @@ allprojects {
}
project.ext {
slf4jVersion = '1.7.32'
junitVersion = '5.7.2'
rootConfigDir = new File(rootDir, 'config')
gitCommit = getGitCommit()

View file

@ -36,8 +36,12 @@ dependencies {
// https://todd.ginsberg.com/post/testing-system-exit/
testImplementation 'com.ginsberg:junit5-system-exit:1.1.1'
// We want logback logging in tests
testImplementation 'ch.qos.logback:logback-classic:1.2.5'
// We don't want logging in the application itself
implementation "org.slf4j:slf4j-nop:$slf4jVersion"
/*
implementation "org.bouncycastle:bcprov-debug-jdk15on:$bouncyCastleVersion"
/*/

View file

@ -15,7 +15,7 @@ dependencies {
api files("libs/bcpg-jdk18on-1.70-SNAPSHOT.jar")
// */
implementation 'org.slf4j:slf4j-api:1.7.32'
implementation "org.slf4j:slf4j-api:$slf4jVersion"
testImplementation 'ch.qos.logback:logback-classic:1.2.5'
// https://mvnrepository.com/artifact/com.google.code.findbugs/jsr305