Force compilation with given scala version
MODIFY
gradle/test-with-scala.gradle
gradle/test-with-scala.gradle
apply plugin: 'scala'
+configurations {
+ all {
+ if (it.name != "zinc") {
+ resolutionStrategy {
+ force deps.scala
+ }
+ }
+ }
+}
+
compileTestGroovy {
classpath = classpath.plus(files(compileTestScala.destinationDir))
dependsOn compileTestScala

Force compilation with given scala version