forked from ibm-functions/runtime-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
39 lines (33 loc) · 980 Bytes
/
build.gradle
File metadata and controls
39 lines (33 loc) · 980 Bytes
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
apply plugin: 'scala'
apply plugin: 'eclipse'
compileTestScala.options.encoding = 'UTF-8'
repositories {
mavenCentral()
mavenLocal()
}
tasks.withType(Test) {
testLogging {
events "passed", "skipped", "failed"
showStandardStreams = true
exceptionFormat = 'full'
}
outputs.upToDateWhen { false } // force tests to run every time
}
task testWithoutCredentials(type: Test) {
exclude '**/*Credentials*'
}
task testBlueCI(type: Test) {
exclude '**/IBMPythonActionDB2Tests*'
}
task testBlueDeployment(type: Test) {
include 'integration/**'
include 'system/**'
}
dependencies {
compile "org.scala-lang:scala-library:${gradle.scala.version}"
compile "org.apache.openwhisk:openwhisk-tests:${gradle.openwhisk.version}:tests"
compile "org.apache.openwhisk:openwhisk-tests:${gradle.openwhisk.version}:test-sources"
}
tasks.withType(ScalaCompile) {
scalaCompileOptions.additionalParameters = gradle.scala.compileFlags
}