summaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
authorVincent Bourgmayer <vincent.bourgmayer@e.email>2023-05-11 12:45:57 +0000
committerVincent Bourgmayer <vincent.bourgmayer@e.email>2023-05-11 12:45:57 +0000
commitc615cb53ef58af2835796286c2f41bc41572dfbe (patch)
treec3180713b71fe21c088b9d57ad4e785fce35828a /build.gradle
parentc0596ecc6236594d7a008219e978c9220984176b (diff)
parent739a89101d632d0f6633cf7d4eaf911768216c93 (diff)
Merge branch '000-move-dependencies-across-gradle-file' into 'main'
move dependencies from build.gradle (top) to settings.gradle to follow same... See merge request e/os/advanced-privacy!133
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 {