Skip to content

Instantly share code, notes, and snippets.

@Nathaniel100
Last active July 26, 2016 03:16
Show Gist options
  • Select an option

  • Save Nathaniel100/d328710a8c3b6b3dcf58b064e31c17ae to your computer and use it in GitHub Desktop.

Select an option

Save Nathaniel100/d328710a8c3b6b3dcf58b064e31c17ae to your computer and use it in GitHub Desktop.
top level gradle
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.1.2'
// dagger2
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'
// Retrolambda
classpath 'me.tatarka:gradle-retrolambda:3.2.5'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
jcenter()
}
}
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