robstoll
04/18/2021, 10:34 AMephemient
04/21/2021, 7:00 PMrobstoll
04/21/2021, 7:01 PMrobstoll
04/21/2021, 7:02 PMephemient
04/21/2021, 7:02 PMrobstoll
04/21/2021, 7:03 PMephemient
04/21/2021, 7:05 PMdependencies {
implementation("com.foo:foo:version") {
exclude(group = "com.bar", module = "bar")
}
}
robstoll
04/21/2021, 7:06 PMturansky
04/21/2021, 7:06 PMephemient
04/21/2021, 7:07 PMrobstoll
04/21/2021, 7:08 PMrobstoll
04/21/2021, 7:09 PMsubstitute module('org.gradle:api') with nothing
robstoll
04/21/2021, 7:09 PMephemient
04/21/2021, 7:09 PMnothing
project and sureturansky
04/21/2021, 7:09 PMruntimeOnly
is also configurationephemient
04/21/2021, 7:10 PMconfigurations.all { it.exclude(mapOf("group" to "com.bar", "module" to "bar")) }
but why?robstoll
04/21/2021, 7:10 PMturansky
04/21/2021, 7:10 PMruntimeOnly
configurationrobstoll
04/21/2021, 7:12 PMVampire
04/21/2021, 9:05 PMslf4j
implementation as dependency has a clear bug. 🙂Vampire
04/21/2021, 9:06 PMVampire
04/21/2021, 9:06 PMVampire
04/21/2021, 9:14 PMrobstoll
04/25/2021, 6:27 PMVampire
04/25/2021, 9:24 PMslf4j-api
and log4j-api
.
A lib uses these apis and the bottom-most downstream project decides which concrete implementation aggregates the log messages.