Gradle internal slf4j causing conflict

I am using slf4j in my project, when building the project, gradle is seeing there are two bindings, one of which is from the internal gradle core jar, another one is from my dependency list. How can I fix this error?

compile 'org.slf4j:slf4j-simple:1.7.14'
compile 'org.slf4j:slf4j-api:1.7.14'

If I don’t include my own slf4j dependencies, gradle won’t build my code, and treat any logging code as invalid symbols because it simply can’t find the library for them.

Are you building a Gradle plugin?

I am not building a plugin, but I am using one.

Is that stacktrace coming from when you build your code, run your application or run tests?

When I am running the gradle build. I raised the issue on the plugin’s github repo, looks like it could be a plugin issue. I will report back if it is indeed a gradle issue. Thanks for the help.

Looks like it was the plugin’s issue. It was resolved there. Check this github page if interested https://github.com/TWCable/gradle-plugin-scr/issues/1 Thanks again.