blob: 2bb3f997f18790845b7e6d5fca45c40d7d6be302 [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
}
task testHealth(type: Test) {
systemProperty 'test.router', 'true'
include 'system/health/**'
}
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
}