Skip to content

Commit

Permalink
use slf4j api instead of direct logback dependency to avoid slf4j war…
Browse files Browse the repository at this point in the history
…nings about multiple bindings
  • Loading branch information
davidhiendl committed Jul 3, 2020
1 parent b20a531 commit afd7098
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
10 changes: 5 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,21 @@ repositories {

dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
implementation "ch.qos.logback:logback-classic:$logback_version"
implementation "org.slf4j:slf4j-api:$slf4j_version"
implementation "io.ktor:ktor-server-core:$ktor_version"
implementation "io.ktor:ktor-server-host-common:$ktor_version"
implementation "io.ktor:ktor-metrics:$ktor_version"
implementation "io.ktor:ktor-server-sessions:$ktor_version"

implementation "io.ktor:ktor-jackson:$ktor_version" // needed for parameter parsing and multipart parsing
implementation "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.9.8" // needed for multipart parsing
implementation 'org.webjars:swagger-ui:3.25.0'

implementation "org.reflections:reflections:0.9.11" // only used while initializing

testImplementation "io.ktor:ktor-server-netty:$ktor_version"
testImplementation "io.ktor:ktor-server-test-host:$ktor_version"

testImplementation "ch.qos.logback:logback-classic:$logback_version"
}

compileKotlin {
Expand Down
1 change: 1 addition & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
kotlin.code.style=official
ktor_version=1.3.2
logback_version=1.2.1
slf4j_version=1.7.30
kotlin_version=1.3.70

0 comments on commit afd7098

Please sign in to comment.