Skip to content

Instantly share code, notes, and snippets.

@SerggioC
Created March 27, 2018 23:06
Show Gist options
  • Save SerggioC/35ba006083f5d54f4cc5ce6a11283b90 to your computer and use it in GitHub Desktop.
Save SerggioC/35ba006083f5d54f4cc5ce6a11283b90 to your computer and use it in GitHub Desktop.
build.gradle (project module) optimized template
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
jcenter()
google()
}
dependencies {
// Android Plugin for Gradle
// https://developer.android.com/studio/releases/gradle-plugin.html
classpath 'com.android.tools.build:gradle:3.1.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
jcenter()
google()
}
}
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