mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-11-26 06:12:06 +01:00
Globally set slf4j version
This commit is contained in:
parent
1124c6fd15
commit
004a761fdb
3 changed files with 6 additions and 1 deletions
|
@ -60,6 +60,7 @@ allprojects {
|
||||||
}
|
}
|
||||||
|
|
||||||
project.ext {
|
project.ext {
|
||||||
|
slf4jVersion = '1.7.32'
|
||||||
junitVersion = '5.7.2'
|
junitVersion = '5.7.2'
|
||||||
rootConfigDir = new File(rootDir, 'config')
|
rootConfigDir = new File(rootDir, 'config')
|
||||||
gitCommit = getGitCommit()
|
gitCommit = getGitCommit()
|
||||||
|
|
|
@ -36,8 +36,12 @@ dependencies {
|
||||||
// https://todd.ginsberg.com/post/testing-system-exit/
|
// https://todd.ginsberg.com/post/testing-system-exit/
|
||||||
testImplementation 'com.ginsberg:junit5-system-exit:1.1.1'
|
testImplementation 'com.ginsberg:junit5-system-exit:1.1.1'
|
||||||
|
|
||||||
|
// We want logback logging in tests
|
||||||
testImplementation 'ch.qos.logback:logback-classic:1.2.5'
|
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"
|
implementation "org.bouncycastle:bcprov-debug-jdk15on:$bouncyCastleVersion"
|
||||||
/*/
|
/*/
|
||||||
|
|
|
@ -15,7 +15,7 @@ dependencies {
|
||||||
api files("libs/bcpg-jdk18on-1.70-SNAPSHOT.jar")
|
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'
|
testImplementation 'ch.qos.logback:logback-classic:1.2.5'
|
||||||
|
|
||||||
// https://mvnrepository.com/artifact/com.google.code.findbugs/jsr305
|
// https://mvnrepository.com/artifact/com.google.code.findbugs/jsr305
|
||||||
|
|
Loading…
Reference in a new issue