gradle.patch 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. diff --git a/build.gradle b/build.gradle
  2. index 671edab..d9ecfef 100644
  3. --- a/build.gradle
  4. +++ b/build.gradle
  5. @@ -5,6 +5,7 @@ buildscript {
  6. repositories {
  7. google()
  8. mavenCentral()
  9. + maven { url System.getenv("GRADLE_MAVEN_REPO") }
  10. }
  11. dependencies {
  12. classpath "com.android.tools.build:gradle:${androidplugin}"
  13. @@ -20,5 +21,6 @@ allprojects {
  14. mavenCentral()
  15. maven { url "https://repo.spring.io/plugins-release" }
  16. maven { url "https://raw.githubusercontent.com/guardianproject/gpmaven/master" }
  17. + maven { url System.getenv("GRADLE_MAVEN_REPO") }
  18. }
  19. }
  20. \ No newline at end of file
  21. diff --git a/service/build.gradle b/service/build.gradle
  22. index b414557..ae3e203 100644
  23. --- a/service/build.gradle
  24. +++ b/service/build.gradle
  25. @@ -16,12 +16,6 @@ android {
  26. }
  27. }
  28. - externalNativeBuild {
  29. - ndkBuild {
  30. - path "src/main/jni/Android.mk"
  31. - buildStagingDirectory "./outputs/ndk-build"
  32. - }
  33. - }
  34. lintOptions {
  35. abortOnError false