I'm using SLF4J in my WAR. However Gradle 2.0 includes a jar ('ch.qos.logback:logback-classic:1.0.13') with the same class (see below). Is there a way to tell Jetty to ignore or exclude the JAR or class in $GRADLE_HOME?
:jettyDraftWar
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/opt/gradle-2.0/lib/logback-classic-1.0.13.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/Users/thad/experimental/mobile/build/tmp/jettyDraftWar/webapp/WEB-INF/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
I'm using SLF4J in my WAR. However Gradle 2.0 includes a jar ('ch.qos.logback:logback-classic:1.0.13') with the same class (see below). Is there a way to tell Jetty to ignore or exclude the JAR or class in $GRADLE_HOME?
:jettyDraftWar SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/opt/gradle-2.0/lib/logback-classic-1.0.13.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/Users/thad/experimental/mobile/build/tmp/jettyDraftWar/webapp/WEB-INF/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation. SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]