How to exclude library from all dependencies in Kotlin DSL build.gradle?
This works with the Gradle Kotlin DSL:
configurations {
all {
exclude(group = "com.google.guava", module = "listenablefuture")
}
}
This might work (though I haven't tried it):
configurations.forEach { it.exclude("com.google.guava", "listenablefuture") }