diff options
author | Uipko Berghuis <uipko.berghuis@fox-it.com> | 2019-12-05 22:38:50 +0100 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2019-12-11 11:23:31 +0100 |
commit | 8a1fcb8cfccf8d5a9e7207b2458e5b321be228e4 (patch) | |
tree | 149c4375a1dbf68ed1e82095521eeb1bc54efc09 | |
parent | b5e0eee4b798d3e2bfef3b87500b8625b77a16b4 (diff) |
Remove module specefic repository decleration
Repositories are defined in top level build.gradle. No need to define
them again in the modules.
-rw-r--r-- | build.gradle.kts | 9 | ||||
-rw-r--r-- | main/build.gradle.kts | 7 | ||||
-rw-r--r-- | remoteExample/build.gradle | 6 | ||||
-rw-r--r-- | tlsexternalcertprovider/build.gradle | 6 |
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' } |