Skip to content

Instantly share code, notes, and snippets.

@zYeoman
Created March 8, 2019 09:01
Show Gist options
  • Save zYeoman/f037d91bddd764d820932e7e66c03fdf to your computer and use it in GitHub Desktop.
Save zYeoman/f037d91bddd764d820932e7e66c03fdf to your computer and use it in GitHub Desktop.
Patch for cordova android url
--- platforms/android/build.gradle 2019-03-08 15:01:51.802772195 +0800
+++ platforms-old/android/build.gradle 2019-03-07 18:25:48.656770908 +0800
@@ -21,7 +21,7 @@
buildscript {
repositories {
maven {
- url "https://maven.google.com"
+ url "https://dl.google.com/dl/android/maven2/"
}
jcenter()
}
@@ -36,7 +36,7 @@
allprojects {
repositories {
maven {
- url "https://maven.google.com"
+ url "https://dl.google.com/dl/android/maven2/"
}
jcenter()
}
--- platforms/android/app/build.gradle 2019-03-08 15:01:51.832772482 +0800
+++ platforms-old/android/app/build.gradle 2019-03-07 18:26:39.260577965 +0800
@@ -23,7 +23,7 @@
repositories {
mavenCentral()
maven {
- url "https://maven.google.com"
+ url "https://dl.google.com/dl/android/maven2/"
}
jcenter()
}
--- platforms/android/CordovaLib/build.gradle 2019-03-08 15:01:51.709437966 +0800
+++ platforms-old/android/CordovaLib/build.gradle 2019-03-07 18:26:33.330522448 +0800
@@ -25,7 +25,7 @@
buildscript {
repositories {
maven {
- url "https://maven.google.com"
+ url "https://dl.google.com/dl/android/maven2/"
}
jcenter()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment