[ 
https://issues.apache.org/jira/browse/CB-14127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16509434#comment-16509434
 ] 

ASF GitHub Bot commented on CB-14127:
-------------------------------------

jcesarmobile closed pull request #450: CB-14127: (android) Move google maven 
repo ahead of jcenter
URL: https://github.com/apache/cordova-android/pull/450
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/bin/templates/cordova/lib/plugin-build.gradle 
b/bin/templates/cordova/lib/plugin-build.gradle
index bf8c59ac2..fdef1f73f 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 479b46dba..4bbb05463 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 20b23fbd8..86e30f8f9 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 {


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


> Move google maven repo ahead of jcenter
> ---------------------------------------
>
>                 Key: CB-14127
>                 URL: https://issues.apache.org/jira/browse/CB-14127
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-android
>            Reporter: Simon MacDonald
>            Assignee: Joe Bowser
>            Priority: Major
>
> Basically there was a problem uploading Google jars to jcenter and it is 
> causing builds to fail. 
> [https://twitter.com/bintray/status/1004974875851685888]
> Builds will work if we put the google maven repo ahead of jcenter.
> On the other had jFrog may end up resolving this issue without us having to 
> do anything.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to