forked from h2oai/h2o-3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.gradle
42 lines (36 loc) · 1.09 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
41
rootProject.name = 'h2o-3'
include 'h2o-core'
include 'h2o-algos'
include 'h2o-web'
include 'h2o-app'
include 'h2o-scala'
include 'h2o-r'
include 'h2o-py'
include 'h2o-assembly'
include 'h2o-persist-hdfs'
include 'h2o-docs'
include 'h2o-hadoop:h2o-mapreduce-generic'
include 'h2o-hadoop:h2o-yarn-generic'
include 'h2o-genmodel'
include 'h2o-java-rest-bindings'
if (System.getProperty("user.name").equals("jenkins")
|| System.getenv("BUILD_HADOOP") != null
|| System.getenv("H2O_TARGET") != null) {
// Default hadoop build targets
def allTargets = [
"cdh5.2", "cdh5.3", "cdh5.4.2",
"hdp2.1", "hdp2.2", "hdp2.3",
"mapr3.1.1", "mapr4.0.1", "mapr5.0"
]
// Compute targets
def targets = System.getenv("H2O_TARGET") != null ? System.getenv("H2O_TARGET").split(",").collect { it.trim() } : allTargets
// Include selected/all Hadoop targets
if (System.getenv("BUILD_HADOOP") != "false") {
targets.each { name ->
include "h2o-hadoop:h2o-${name}"
include "h2o-hadoop:h2o-${name}-assembly"
}
}
}
include 'h2o-test-integ'
include 'h2o-testng'