summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build.gradle.kts9
-rw-r--r--main/build.gradle.kts7
-rw-r--r--remoteExample/build.gradle6
-rw-r--r--tlsexternalcertprovider/build.gradle6
4 files changed, 6 insertions, 22 deletions
diff --git a/build.gradle.kts b/build.gradle.kts
index 9a1fa549..9c542106 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -15,7 +15,10 @@ buildscript {
}
}
-
-repositories {
- google()
+allprojects {
+ repositories {
+ google()
+ jcenter()
+ maven(url = "https://jitpack.io")
+ }
}
diff --git a/main/build.gradle.kts b/main/build.gradle.kts
index ceb745f0..786a06bf 100644
--- a/main/build.gradle.kts
+++ b/main/build.gradle.kts
@@ -13,13 +13,6 @@ apply {
plugin("kotlin-android-extensions")
}
-repositories {
- jcenter()
- maven(url = "https://jitpack.io")
- google()
-}
-
-
val openvpn3SwigFiles = File(buildDir, "generated/source/ovpn3swig/ovpn3")
tasks.register<Exec>("generateOpenVPN3Swig")
diff --git a/remoteExample/build.gradle b/remoteExample/build.gradle
index 119c6ea7..bd758bd2 100644
--- a/remoteExample/build.gradle
+++ b/remoteExample/build.gradle
@@ -5,12 +5,6 @@
apply plugin: 'com.android.application'
-repositories {
- jcenter()
- maven { url "https://jitpack.io" }
- maven { url 'https://maven.google.com' }
-}
-
android {
compileSdkVersion 28
diff --git a/tlsexternalcertprovider/build.gradle b/tlsexternalcertprovider/build.gradle
index ee7a0e0b..667df3d9 100644
--- a/tlsexternalcertprovider/build.gradle
+++ b/tlsexternalcertprovider/build.gradle
@@ -5,12 +5,6 @@
apply plugin: 'com.android.application'
-repositories {
- jcenter()
- maven { url "https://jitpack.io" }
- maven { url 'https://maven.google.com' }
-}
-
ext {
bouncycastleVersion = '1.49'
}