Fix logging.

This commit is contained in:
Mark Nellemann 2021-01-21 21:21:31 +01:00
parent 7b8a9d56b3
commit 0d1e9d355d
3 changed files with 11 additions and 5 deletions

View File

@ -26,12 +26,12 @@ repositories {
dependencies { dependencies {
implementation("org.slf4j:slf4j-api:${slf4jVersion}") implementation("org.slf4j:slf4j-api:${slf4jVersion}")
api("com.google.code.gson:gson:2.8.5") api("com.google.code.gson:gson:2.8.5")
api("com.squareup.okhttp3:okhttp:4.1.0") api("com.squareup.okhttp3:okhttp:4.1.0")
testImplementation("org.slf4j:slf4j-simple:${slf4jVersion}")
testImplementation('com.squareup.okhttp3:mockwebserver:4.1.0') testImplementation('com.squareup.okhttp3:mockwebserver:4.1.0')
testRuntime("org.slf4j:slf4j-simple:${slf4jVersion}")
testCompile("org.codehaus.groovy:groovy-all:${groovyVersion}") testCompile("org.codehaus.groovy:groovy-all:${groovyVersion}")
testCompile("org.spockframework:spock-core:${spockVersion}") { testCompile("org.spockframework:spock-core:${spockVersion}") {
exclude group: "org.codehaus.groovy" exclude group: "org.codehaus.groovy"

View File

@ -1,9 +1,9 @@
id = libcvrapi id = libcvrapi
group = biz.nellemann.libs group = biz.nellemann.libs
version = 1.0.7 version = 1.0.8
licenses = ['APACHE-2.0'] // or something else licenses = ['APACHE-2.0'] // or something else
groovyVersion = 2.5.8 groovyVersion = 2.5.14
slf4jVersion = 1.7.28 slf4jVersion = 1.7.30
spockVersion = 1.3-groovy-2.5 spockVersion = 1.3-groovy-2.5
siteUrl = https://bitbucket.org/mnellemann/libcvrapi siteUrl = https://bitbucket.org/mnellemann/libcvrapi
gitUrl = https://bitbucket.org/mnellemann/libcvrapi.git gitUrl = https://bitbucket.org/mnellemann/libcvrapi.git

View File

@ -0,0 +1,6 @@
org.slf4j.simpleLogger.logFile=System.out
org.slf4j.simpleLogger.showDateTime=true
org.slf4j.simpleLogger.showShortLogName=true
org.slf4j.simpleLogger.dateTimeFormat=yyyy-MM-dd HH:mm:ss.SSS
org.slf4j.simpleLogger.levelInBrackets=true
#org.slf4j.simpleLogger.defaultLogLevel=debug