Depending on gradleApi() creates multiple bindings for slf4j when I also depend on logback-classic. how can i get around this?


(Jared Nagle) #1

This is a snippet from my build.gradle

configurations {
 provided.extendsFrom compile
 testRuntime.extendsFrom provided
}
  dependencies {
 compile gradleApi()
 provided 'org.slf4j:slf4j-api:1.7.6'
 runtime 'ch.qos.logback:logback-core:1.1.1'
 runtime 'ch.qos.logback:logback-classic:1.1.1'
}