Skip to content

Instantly share code, notes, and snippets.

@ae6rt
Created October 15, 2013 23:53
Show Gist options
  • Save ae6rt/7000490 to your computer and use it in GitHub Desktop.
Save ae6rt/7000490 to your computer and use it in GitHub Desktop.
Grouping dependencies in Gradle
Group dependencies in Gradle:
ext.libraries = [
logging: [
"ch.qos.logback:logback-classic:${versions.logback}",
"org.slf4j:log4j-over-slf4j:${versions.slf4j}",
"org.slf4j:jul-to-slf4j:${versions.slf4j}"
]
]
...
dependencies {
compile libraries.logging
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment