Skip to content

Instantly share code, notes, and snippets.

@prasad091
Created January 6, 2017 05:22
Show Gist options
  • Select an option

  • Save prasad091/257528bd90791e73a9bb0291f62caefa to your computer and use it in GitHub Desktop.

Select an option

Save prasad091/257528bd90791e73a9bb0291f62caefa to your computer and use it in GitHub Desktop.
Sample Gradle main
// 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.0'
classpath 'me.tatarka:gradle-retrolambda:3.3.1'
classpath 'org.greenrobot:greendao-gradle-plugin:3.2.0'
classpath 'com.google.gms:google-services:3.0.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
jcenter()
maven {
url "https://jitpack.io"
}
}
}
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