From cb2f396e330eafbad190a34ec45c018265c69240 Mon Sep 17 00:00:00 2001 From: Gil Pedersen Date: Tue, 29 Aug 2017 17:27:02 +0200 Subject: [PATCH] Update maven repo to include most recent lib versions --- bin/templates/cordova/lib/plugin-build.gradle | 4 +++- bin/templates/project/build.gradle | 8 ++++++-- framework/build.gradle | 4 +++- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/bin/templates/cordova/lib/plugin-build.gradle b/bin/templates/cordova/lib/plugin-build.gradle index d1c63365..bf8c59ac 100644 --- a/bin/templates/cordova/lib/plugin-build.gradle +++ b/bin/templates/cordova/lib/plugin-build.gradle @@ -20,8 +20,10 @@ buildscript { repositories { - mavenCentral() jcenter() + maven { + url "https://maven.google.com" + } } // Switch the Android Gradle plugin version requirement depending on the diff --git a/bin/templates/project/build.gradle b/bin/templates/project/build.gradle index ef229719..0d8f167c 100644 --- a/bin/templates/project/build.gradle +++ b/bin/templates/project/build.gradle @@ -21,8 +21,10 @@ apply plugin: 'com.android.application' buildscript { repositories { - mavenCentral() jcenter() + maven { + url "https://maven.google.com" + } } // Switch the Android Gradle plugin version requirement depending on the @@ -37,8 +39,10 @@ buildscript { // Allow plugins to declare Maven dependencies via build-extras.gradle. allprojects { repositories { - mavenCentral(); jcenter() + maven { + url "https://maven.google.com" + } } } diff --git a/framework/build.gradle b/framework/build.gradle index 331f9e22..9e4517b2 100644 --- a/framework/build.gradle +++ b/framework/build.gradle @@ -24,8 +24,10 @@ ext { buildscript { repositories { - mavenCentral() jcenter() + maven { + url "https://maven.google.com" + } } dependencies {