[logback-user] What controls API version?

Christopher Paulicka paulicka at twiceborn.com
Mon Jun 13 20:02:29 CEST 2011


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.


More information about the Logback-user mailing list