Skip to content

Instantly share code, notes, and snippets.

@victorhugorch
Created November 27, 2018 20:05
Show Gist options
  • Save victorhugorch/0dcdedd6f6e17d2edde0174ef197dfb3 to your computer and use it in GitHub Desktop.
Save victorhugorch/0dcdedd6f6e17d2edde0174ef197dfb3 to your computer and use it in GitHub Desktop.
buildscript {
repositories {
jcenter()
google()
}
// Switch the Android Gradle plugin version requirement depending on the
// installed version of Gradle. This dependency is documented at
// http://tools.android.com/tech-docs/new-build-system/version-compatibility
// and https://issues.apache.org/jira/browse/CB-8143
dependencies {
classpath 'com.android.tools.build:gradle:3.0.0'
}
}
// Allow plugins to declare Maven dependencies via build-extras.gradle.
allprojects {
repositories {
google()
jcenter()
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment