From 739a89101d632d0f6633cf7d4eaf911768216c93 Mon Sep 17 00:00:00 2001 From: Vincent Bourgmayer Date: Thu, 11 May 2023 12:45:56 +0000 Subject: move dependencies from build.gradle (top) to settings.gradle to follow same... --- build.gradle | 37 ------------------------------------- 1 file changed, 37 deletions(-) (limited to 'build.gradle') diff --git a/build.gradle b/build.gradle index f8e44e0..d88492d 100644 --- a/build.gradle +++ b/build.gradle @@ -70,43 +70,6 @@ allprojects { jvmTarget = "1.8" } } - - repositories { - google() - mavenCentral() - maven { url "https://raw.githubusercontent.com/guardianproject/gpmaven/master" } - maven { url 'https://gitlab.e.foundation/api/v4/groups/9/-/packages/maven' } - maven { url 'https://jitpack.io' } - - def ciJobToken = System.getenv("CI_JOB_TOKEN") - def ciApiV4Url = System.getenv("CI_API_V4_URL") - if (ciJobToken != null) { - maven { - url "${ciApiV4Url}/groups/9/-/packages/maven" - name "GitLab" - credentials(HttpHeaderCredentials) { - name = 'Job-Token' - value = ciJobToken - } - authentication { - header(HttpHeaderAuthentication) - } - } - } else { - mavenLocal() - maven { - url "https://gitlab.e.foundation/api/v4/groups/9/-/packages/maven" - name "GitLab" - credentials(HttpHeaderCredentials) { - name = 'Private-Token' - value = gitLabPrivateToken - } - authentication { - header(HttpHeaderAuthentication) - } - } - } - } } subprojects { -- cgit v1.2.1