Strage gradle error
Answered
I'm trying to add logging to my app, so I added these to gradle.build:
implementation group: 'org.slf4j', name: 'slf4j-api', version: '2.0.0-alpha1'
implementation group: 'ch.qos.logback', name: 'logback-classic', version: '1.3.0-alpha5'
The problem is when I run any gradle task I get these errors: https://pastebin.com/5Rr7ZGM4
I have no idea on how to fix this, please tell me :(
Please sign in to leave a comment.
These errors are reported for modular Java application if the classpath contain more than one module that provides same package, see the https://stackoverflow.com/a/44842117/2000323 for more details and ways to correct this.
I ended up using log4j2 because it doesn't throw any error