blob: d95b884a6fba8161840cbb0ad1cd847585be854f [file] [log] [blame]
apply plugin: 'scala'
apply plugin: 'eclipse'
compileTestScala.options.encoding = 'UTF-8'
evaluationDependsOn(':whisktests')
repositories {
mavenCentral()
}
tasks.withType(Test) {
testLogging {
events "passed", "skipped", "failed"
showStandardStreams = true
exceptionFormat = 'full'
}
outputs.upToDateWhen { false } // force tests to run every time
}
// Add all images needed for local testing here
test.dependsOn([
':tests:dat:blackbox:badaction:distDocker',
':tests:dat:blackbox:badproxy:distDocker'
])
dependencies {
compile "org.scala-lang:scala-library:${gradle.scala.version}"
compile project(':whisktests')
compile project(':whisktests').sourceSets.test.output
}
tasks.withType(ScalaCompile) {
scalaCompileOptions.additionalParameters = gradle.scala.compileFlags
}