Hi Stefan,
I was unable to test scala using TestNG. The original error issue has been resolved as below.
The warning still comes up even removing zinc’s dependency. Since it’s just a warning that doesn’t affect compile and test I am running, it’s not a problem for now.
I already dumped the debug messages using “-d” parameter. Please see attached link for the log.
https://drive.google.com/file/d/0B2PC2QjV54CcTjlCTlJsOURRSkk/view?usp=sharing
apply plugin: 'scala'
dependencies {
// Scala Support
// compile 'org.scala-lang:scala-library:2.11.8' // for scala 2.11
compile 'org.scala-lang:scala-library-all:2.12.0-M5' // for scala 2.12
compile 'org.scalatest:scalatest-app_2.12.0-M5:3.0.0'
testCompile "org.scala-lang:scala-library-all:2.12.0-M5"
testCompile 'org.scalatest:scalatest-app_2.12.0-M5:3.0.0'
}
tasks.withType(ScalaCompile) {
configure(scalaCompileOptions.forkOptions) {
memoryMaximumSize = '1g'
}
}