Skip to content

Instantly share code, notes, and snippets.

@perusudroid
Created December 31, 2017 08:42
Show Gist options
  • Save perusudroid/9b873652b17b6d1fec21540d964c692a to your computer and use it in GitHub Desktop.
Save perusudroid/9b873652b17b6d1fec21540d964c692a to your computer and use it in GitHub Desktop.
Room gradle
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
apply from: '../versions.gradle'
addRepos(repositories)
allprojects { repositories { maven { url 'https://jitpack.io' } } }
dependencies {
classpath deps.android_gradle_plugin
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
addRepos(repositories)
}
task clean(type: Delete) {
delete rootProject.buildDir
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment