From db4d1f57682224476e270d42f654321b82990dd0 Mon Sep 17 00:00:00 2001 From: Joe Bowser Date: Mon, 6 Jun 2016 11:21:30 -0700 Subject: [PATCH] CB-11383: Update to gradle for using jcenter and correct Application plugin --- bin/templates/project/build.gradle | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/bin/templates/project/build.gradle b/bin/templates/project/build.gradle index 3448b50e..8ac24738 100644 --- a/bin/templates/project/build.gradle +++ b/bin/templates/project/build.gradle @@ -17,13 +17,11 @@ under the License. */ -// GENERATED FILE! DO NOT EDIT! - -apply plugin: 'android' +apply plugin: 'com.android.application' buildscript { repositories { - mavenCentral() + jcenter() } // Switch the Android Gradle plugin version requirement depending on the @@ -33,11 +31,13 @@ buildscript { dependencies { classpath 'com.android.tools.build:gradle:2.1.0' } - } +} // Allow plugins to declare Maven dependencies via build-extras.gradle. -repositories { - mavenCentral() +allprojects { + repositories { + jcenter() + } } task wrapper(type: Wrapper) {