maven-repo.patch 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. diff --git a/android/build.gradle b/android/build.gradle
  2. index b6d8608..38093be 100644
  3. --- a/android/build.gradle
  4. +++ b/android/build.gradle
  5. @@ -7,6 +7,7 @@ buildscript {
  6. mavenLocal()
  7. mavenCentral()
  8. google()
  9. + maven { url System.getenv("GRADLE_MAVEN_REPO") }
  10. }
  11. dependencies {
  12. classpath "com.android.tools.build:gradle:${androidplugin}"
  13. @@ -82,6 +83,7 @@ repositories {
  14. mavenCentral()
  15. google()
  16. maven { url "https://raw.githubusercontent.com/guardianproject/gpmaven/master" }
  17. + maven { url System.getenv("GRADLE_MAVEN_REPO") }
  18. }
  19. /**
  20. diff --git a/android_tor_installer/build.gradle b/android_tor_installer/build.gradle
  21. index 1bc0343..7d8e886 100644
  22. --- a/android_tor_installer/build.gradle
  23. +++ b/android_tor_installer/build.gradle
  24. @@ -7,6 +7,7 @@ buildscript {
  25. mavenLocal()
  26. mavenCentral()
  27. google()
  28. + maven { url System.getenv("GRADLE_MAVEN_REPO") }
  29. }
  30. dependencies {
  31. classpath "com.android.tools.build:gradle:${androidplugin}"
  32. @@ -50,5 +51,6 @@ repositories {
  33. google()
  34. maven { url "https://repo.spring.io/plugins-release" }
  35. maven { url "https://raw.githubusercontent.com/guardianproject/gpmaven/master" }
  36. + maven { url System.getenv("GRADLE_MAVEN_REPO") }
  37. }
  38. diff --git a/build.gradle b/build.gradle
  39. index a269024..430f3e1 100644
  40. --- a/build.gradle
  41. +++ b/build.gradle
  42. @@ -9,6 +9,7 @@ subprojects {
  43. mavenLocal()
  44. mavenCentral()
  45. maven { url "https://repo.spring.io/plugins-release" }
  46. + maven { url System.getenv("GRADLE_MAVEN_REPO") }
  47. }
  48. }