forked from apache/openwhisk-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.gradle
35 lines (29 loc) · 1.01 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
def owPath = System.getenv("OPENWHISK_HOME") ?: '../incubator-openwhisk'
def owDirectory = new File(owPath)
if (!owDirectory.exists()) {
throw new GradleScriptException(
"Environment variable OPENWHISK_HOME must point to a valid OpenWhisk build", null)
}
include 'clitests'; project(':clitests').projectDir = new File(owDirectory, 'tests')
[ 'common:scala',
'core:controller',
'core:invoker',
'actionRuntimes:nodejs6Action',
'actionRuntimes:actionProxy',
'actionRuntimes:pythonAction',
'actionRuntimes:python2Action',
'actionRuntimes:javaAction',
'actionRuntimes:swift3.1.1Action',
'sdk:docker',
'tests:dat:blackbox:badaction',
'tests:dat:blackbox:badproxy'
].each() { p ->
include p
project(':'+p).projectDir = new File(owDirectory, p.replaceAll(':','/'))
}
include 'tests'
rootProject.name = 'openwhisk-cli'
gradle.ext.scala = [
version: '2.11.8',
compileFlags: ['-feature', '-unchecked', '-deprecation', '-Xfatal-warnings', '-Ywarn-unused-import']
]