Guest User

Untitled

a guest
Jul 18th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.92 KB | None | 0 0
  1. dependencies {
  2. // Used compile/coding time.
  3. compile 'org.slf4j:slf4j-api:1.7.25'
  4.  
  5. // Used Runtime
  6. runtime 'ch.qos.logback:logback-classic:1.2.3' // The log implementation.
  7. runtime 'org.slf4j:jcl-over-slf4j:1.7.25' // Commons-Logging > SLF4J
  8. runtime 'org.slf4j:jul-to-slf4j:1.7.25' // Java Util Logging > SLF4J
  9. runtime 'org.apache.logging.log4j:log4j-to-slf4j:2.11.0' // Log4j 1&2 > SLF4J
  10. }
  11.  
  12. configurations.all {
  13. exclude group: 'log4j' // = Log4j implementation.
  14. exclude module: 'log4j-slf4j-impl' // = SLF4J > Log4J Implementation. (Apache Side)
  15. exclude module: 'slf4j-log4j12' // = SLF4J > Log4J Implementation. (SLF4J Side)
  16. exclude module: 'log4j-over-slf4j' // = Old Log4j 1&2 > SLF4J
  17. exclude module: 'slf4j-jdk14' // = SLF4J > JDK14 Binding
  18. exclude module: 'commons-logging' // Because bridged by jcl-over-slf4j
  19. exclude module: 'commons-logging-api' // Replaced by jcl-over-slf4j
  20. }
Add Comment
Please, Sign In to add comment