-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.gradle
37 lines (28 loc) · 967 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
def owPath = System.getenv("OPENWHISK_HOME") ?: '../openwhisk'
def owDirectory = new File(owPath)
if (!owDirectory.exists()) {
throw new GradleScriptException("Environment variable OPENWHISK_HOME must point to a valid OpenWhisk build", null)
}
gradle.ext.owDirectory = owDirectory
include 'common:mongo'
include 'core:controller-mongo'
include 'core:invoker-mongo'
include 'tools'
include 'tools:wskadmin'
include 'tests'
rootProject.name = 'openwhisk-mongo'
gradle.ext.openwhisk = [
version: '1.0.0-SNAPSHOT'
]
gradle.ext.scala = [
version: '2.11.11',
compileFlags: ['-feature', '-unchecked', '-deprecation', '-Xfatal-warnings', '-Ywarn-unused-import']
]
gradle.ext.scalafmt = [
version: '1.5.0',
config: new File(rootProject.projectDir, '.scalafmt.conf')
]
gradle.ext.scoverage = [
deps: ['org.scoverage:scalac-scoverage-plugin_2.11:1.3.1',
'org.scoverage:scalac-scoverage-runtime_2.11:1.3.1']
]