[logback-user] What controls API version?

Joern Huxhorn jhuxhorn at googlemail.com
Mon Jun 13 22:40:21 CEST 2011


Logback 0.9.28 requires at least SLF4J 1.6.
The version is resolved by a transitive dependency.

Why would you want to stay at SLF4J 1.5.8?

Cheers,
Joern.

On 13.06.2011, at 20:02, Christopher Paulicka wrote:

> Hello,
> 
> Is there a way to control the logback version?
> 
> If I create the following Gradle script:
> apply plugin: 'java'
> apply plugin: 'maven'
> 
> repositories {
>    mavenCentral()
> }
> 
> dependencies {
>    compile group: 'ch.qos.logback', name: 'logback-classic', version: '0.9.28'
>    compile group: 'org.slf4j', name: 'slf4j-api', version: '1.5.8'
> }
> 
> Then run 'gradle dependencies', my 'slf4j-api' version is now '1.6.1'.
> How does this happen?
> And how can I keep it at '1.5.8'?
> 
> Strayph
> 
> 
> P.S. I found (by iterating) that '0.9.17' stays with '1.5.8', but that is a cheesy hack.
> _______________________________________________
> Logback-user mailing list
> Logback-user at qos.ch
> http://qos.ch/mailman/listinfo/logback-user



More information about the Logback-user mailing list