forked from spring-attic/spring-xd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.gradle
41 lines (37 loc) · 1.18 KB
/
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
40
rootProject.name = 'spring-xd'
include 'spring-xd-analytics'
include 'spring-xd-dirt'
include 'spring-xd-gemfire-server'
include 'redis'
include 'spring-xd-module'
include 'spring-xd-tuple'
include 'spring-xd-hadoop'
include 'spring-xd-hadoop:hadoop12'
include 'spring-xd-hadoop:hadoop20'
include 'spring-xd-hadoop:cdh4'
include 'spring-xd-hadoop:hdp13'
include 'spring-xd-hadoop:phd1'
include 'spring-xd-test'
include 'spring-xd-rest-client'
include 'spring-xd-rest-domain'
include 'spring-xd-shell'
include 'spring-xd-ui'
include 'modules'
include 'spring-xd-exec'
['source', 'processor', 'sink', 'job'].each {kind->
new File(rootDir, "modules/${kind}").eachDir { dir ->
if (new File(dir, "config/${dir.name}.xml").exists()) {
include ":modules.${kind}.${dir.name}"
project(":modules.${kind}.${dir.name}").projectDir = dir
}
}
}
// For projects living in extensions/ directory:
// This prevents the detection of the extensions/ directory itself
// as a project (which it is not) and avoids manual listing of projects
new File(rootDir, 'extensions').eachDir { dir ->
if (new File(dir, 'src/main/java').exists()) {
include ":${dir.name}"
project(":${dir.name}").projectDir = dir
}
}