From 8a1fcb8cfccf8d5a9e7207b2458e5b321be228e4 Mon Sep 17 00:00:00 2001 From: Uipko Berghuis Date: Thu, 5 Dec 2019 22:38:50 +0100 Subject: Remove module specefic repository decleration Repositories are defined in top level build.gradle. No need to define them again in the modules. --- build.gradle.kts | 9 ++++++--- main/build.gradle.kts | 7 ------- remoteExample/build.gradle | 6 ------ 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("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' } -- cgit v1.2.3