summaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
authorVincent Bourgmayer <vincent.bourgmayer@e.email>2023-05-11 12:45:56 +0000
committerVincent Bourgmayer <vincent.bourgmayer@e.email>2023-05-11 12:45:56 +0000
commit739a89101d632d0f6633cf7d4eaf911768216c93 (patch)
treefd693a6c44e11d7990a13fcace7e3039e372fd12 /build.gradle
parent5a432ecde520ee039786848296e5227571404158 (diff)
move dependencies from build.gradle (top) to settings.gradle to follow same...
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle37
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 {