How should I exclude a certain dependency for all ...
# gradle
m
How should I exclude a certain dependency for all configuration like this Gradle groovy:
Copy code
configurations.all {
    exclude group: 'org.slf4j', module: 'jul-to-slf4j'
}
I tried something like:
Copy code
configurations {
    all { configuration ->
        configuration.exclude("org.slf4j", "jul-to-slf4j")
    }
}
but it does't work, IntelliJ complain returning a Boolean instead of Unit...