forked from spinnaker/rosco
-
Notifications
You must be signed in to change notification settings - Fork 5
/
settings.gradle
39 lines (34 loc) · 971 Bytes
/
settings.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
['kork'].each { prj ->
String propName = "${prj}Composite"
String projectPath = "../$prj"
if (settings.ext.has(propName) && Boolean.parseBoolean(settings.ext.get(propName) as String)) {
includeBuild projectPath
}
}
rootProject.name = 'rosco'
include 'rosco-bom', 'rosco-core', 'rosco-web', 'rosco-manifests'
def setBuildFile(project) {
project.buildFileName = "${project.name}.gradle"
project.children.each {
setBuildFile(it)
}
}
rootProject.children.each {
setBuildFile(it)
}
if (spinnakerGradleVersion.endsWith('-SNAPSHOT')) {
pluginManagement {
repositories {
mavenLocal()
mavenCentral()
gradlePluginPortal()
maven{
url "https://nexus1.opsmx.net/repository/maven-snapshots/"
credentials {
username = "NEXUS_USERNAME"
password = "NEXUS_PASSWORD"
}
}
}
}
}