-
Notifications
You must be signed in to change notification settings - Fork 48
/
Copy pathrepositories.gradle
52 lines (41 loc) · 1.42 KB
/
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
// Copyright 2015 EMC Corporation
// All Rights Reserved
allprojects {
repositories {
if (project.hasProperty("withMavenLocal")) {
mavenLocal()
}
if (project.hasProperty("buildType") && project.getProperty("buildType") == "oss") {
mavenCentral()
// need a few artifacts not available from Maven Central
maven {
url "http://repo.spring.io/release/"
}
maven {
url "http://jcenter.bintray.com/"
}
maven {
url coprHD_aux_repo
}
maven {
url "http://sourceforge.net/projects/"
}
ivy {
//ivyPattern "${rootProject.projectDir}/repo/[organisation]/[module]-[revision]-ivy.xml"
artifactPattern "${rootProject.projectDir}/repo/[organisation]/[module]-[revision](-[classifier]).[ext]"
}
} else {
ivy {
ivyPattern "${rootProject.projectDir}/repo/[organisation]/[module]-[revision]-ivy.xml"
artifactPattern "${rootProject.projectDir}/repo/[organisation]/[module]-[revision](-[classifier]).[ext]"
}
maven {
name "artifactory"
url artifactoryUrl
}
}
}
configurations.all {
resolutionStrategy.cacheDynamicVersionsFor 10, 'minutes'
}
}