Cross build to Scala 2.12

This commit is contained in:
Eugene Yokota 2017-01-07 03:06:14 -05:00
parent 376718f976
commit c75a69bbb0
1 changed files with 2 additions and 2 deletions

View File

@ -77,8 +77,8 @@ abstract class BridgeProviderSpecification extends BaseIvySpecification {
def compilerBridgeId(scalaVersion: String) =
scalaVersion match {
case sc if sc startsWith "2.11" => "compiler-bridge_2.11"
case _ => "compiler-bridge_2.10"
case sc if (sc startsWith "2.10.") => "compiler-bridge_2.10"
case _ => "compiler-bridge_2.12"
}
def scalaLoader(jars: Seq[File]) = new URLClassLoader(sbt.io.Path.toURLs(jars), ClasspathUtilities.rootLoader)