Skip to content

Instantly share code, notes, and snippets.

@SeongUgJung
Created October 10, 2016 16:38
Show Gist options
  • Save SeongUgJung/37e04ae85be955e2f95a93c962a07b33 to your computer and use it in GitHub Desktop.
Save SeongUgJung/37e04ae85be955e2f95a93c962a07b33 to your computer and use it in GitHub Desktop.
// dependencies-app.gradle
rootProject.allprojects { project ->
if (project.name == 'app') {
project.afterEvaluate {
repositories {
jcenter()
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile rootProject.ext.dependencies.library.retrofit2
compile rootProject.ext.dependencies.library.retrofit2_gson
compile rootProject.ext.dependencies.library.retrofit2_rxjava2
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment