CB-11383: Update to gradle for using jcenter and correct Application plugin

This commit is contained in:
Joe Bowser 2016-06-06 11:21:30 -07:00
parent 81d6219663
commit db4d1f5768

View File

@ -17,13 +17,11 @@
under the License. under the License.
*/ */
// GENERATED FILE! DO NOT EDIT! apply plugin: 'com.android.application'
apply plugin: 'android'
buildscript { buildscript {
repositories { repositories {
mavenCentral() jcenter()
} }
// Switch the Android Gradle plugin version requirement depending on the // Switch the Android Gradle plugin version requirement depending on the
@ -33,11 +31,13 @@ buildscript {
dependencies { dependencies {
classpath 'com.android.tools.build:gradle:2.1.0' classpath 'com.android.tools.build:gradle:2.1.0'
} }
} }
// Allow plugins to declare Maven dependencies via build-extras.gradle. // Allow plugins to declare Maven dependencies via build-extras.gradle.
repositories { allprojects {
mavenCentral() repositories {
jcenter()
}
} }
task wrapper(type: Wrapper) { task wrapper(type: Wrapper) {