forked from datahub-project/datahub
-
Notifications
You must be signed in to change notification settings - Fork 0
/
repositories.gradle
37 lines (33 loc) · 900 Bytes
/
repositories.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
repositories {
gradlePluginPortal()
mavenLocal()
if (project.hasProperty('apacheMavenRepositoryUrl')) {
maven { url project.getProperty('apacheMavenRepositoryUrl') }
} else {
mavenCentral()
}
if (project.hasProperty('confluentMavenRepositoryUrl')) {
maven {
url project.getProperty('confluentMavenRepositoryUrl')
}
} else {
maven {
url "https://packages.confluent.io/maven/"
}
}
if (project.hasProperty('linkedinOpenSourceRepositoryUrl')) {
maven {
url project.getProperty('linkedinOpenSourceRepositoryUrl')
}
} else {
maven {
url "https://linkedin.jfrog.io/artifactory/open-source/" // GMA, pegasus
}
}
}
try {
subprojects {
project.repositories.addAll(rootProject.repositories)
}
} catch (Throwable t) {
}