From 38d0e684f1b03884f42403224e7a92148fc01a1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julio=20C=C3=A9sar?= Date: Mon, 11 Jun 2018 23:12:58 +0200 Subject: [PATCH] CB-14127: (android) Move google maven repo ahead of jcenter --- bin/templates/cordova/lib/plugin-build.gradle | 2 +- bin/templates/project/app/build.gradle | 2 +- bin/templates/project/build.gradle | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/templates/cordova/lib/plugin-build.gradle b/bin/templates/cordova/lib/plugin-build.gradle index bf8c59ac..fdef1f73 100644 --- a/bin/templates/cordova/lib/plugin-build.gradle +++ b/bin/templates/cordova/lib/plugin-build.gradle @@ -20,10 +20,10 @@ buildscript { repositories { - jcenter() maven { url "https://maven.google.com" } + jcenter() } // Switch the Android Gradle plugin version requirement depending on the diff --git a/bin/templates/project/app/build.gradle b/bin/templates/project/app/build.gradle index 479b46db..4bbb0546 100644 --- a/bin/templates/project/app/build.gradle +++ b/bin/templates/project/app/build.gradle @@ -22,10 +22,10 @@ apply plugin: 'com.android.application' buildscript { repositories { mavenCentral() - jcenter() maven { url "https://maven.google.com" } + jcenter() } dependencies { diff --git a/bin/templates/project/build.gradle b/bin/templates/project/build.gradle index 20b23fbd..86e30f8f 100644 --- a/bin/templates/project/build.gradle +++ b/bin/templates/project/build.gradle @@ -20,10 +20,10 @@ buildscript { repositories { - jcenter() maven { url "https://maven.google.com" } + jcenter() } dependencies { @@ -35,10 +35,10 @@ buildscript { allprojects { repositories { - jcenter() maven { url "https://maven.google.com" } + jcenter() } //This replaces project.properties w.r.t. build settings project.ext {