Skip to content

Instantly share code, notes, and snippets.

@Hafiz-Waleed-Hussain
Created March 12, 2017 12:05
Show Gist options
  • Save Hafiz-Waleed-Hussain/57d2708607da67867d9bed7ba9882f5c to your computer and use it in GitHub Desktop.
Save Hafiz-Waleed-Hussain/57d2708607da67867d9bed7ba9882f5c to your computer and use it in GitHub Desktop.
Project level gradle for Android Examples
// 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.3.0'
classpath 'me.tatarka:gradle-retrolambda:3.4.0'
// 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