diff options
Diffstat (limited to 'build.gradle')
-rw-r--r-- | build.gradle | 37 |
1 files changed, 0 insertions, 37 deletions
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 { |