I have a number of projects that have dependencies that always travel together:
compile “ch.qos.logback:logback-classic:${versions.logback}”
compile “org.slf4j:log4j-over-slf4j:${versions.slf4j}”
compile “org.slf4j:jul-to-slf4j:${versions.slf4j}”
Is it possible to use the configurations support to alias these into one logical compile-dependency which I’d call “slf4j” ? So the result would look like
dependencies {
slf4j
compile ...
}
I’ve read the configurations documentation but somehow the description does not suggest this is a valid or intended use. Maybe I’m missing something.
Thanks.