mirror of https://github.com/sbt/sbt.git
compile fixes
This commit is contained in:
parent
f68c906ddb
commit
67f8fc5c06
|
|
@ -354,7 +354,7 @@ object ModuleConfiguration
|
||||||
def apply(org: String, resolver: Resolver): ModuleConfiguration = apply(org, "*", "*", resolver)
|
def apply(org: String, resolver: Resolver): ModuleConfiguration = apply(org, "*", "*", resolver)
|
||||||
def apply(org: String, name: String, resolver: Resolver): ModuleConfiguration = ModuleConfiguration(org, name, "*", resolver)
|
def apply(org: String, name: String, resolver: Resolver): ModuleConfiguration = ModuleConfiguration(org, name, "*", resolver)
|
||||||
}
|
}
|
||||||
|
/*
|
||||||
object Credentials
|
object Credentials
|
||||||
{
|
{
|
||||||
/** Add the provided credentials to Ivy's credentials cache.*/
|
/** Add the provided credentials to Ivy's credentials cache.*/
|
||||||
|
|
@ -390,4 +390,4 @@ object Credentials
|
||||||
private[this] val HostKeys = List("host", "hostname")
|
private[this] val HostKeys = List("host", "hostname")
|
||||||
private[this] val UserKeys = List("user", "user.name", "username")
|
private[this] val UserKeys = List("user", "user.name", "username")
|
||||||
private[this] val PasswordKeys = List("password", "pwd", "pass", "passwd")
|
private[this] val PasswordKeys = List("password", "pwd", "pass", "passwd")
|
||||||
}
|
}*/
|
||||||
|
|
@ -70,7 +70,7 @@ object LaunchTest
|
||||||
def testRepositories = List(Local, ScalaToolsReleases, ScalaToolsSnapshots).map(Repository.Predefined.apply)
|
def testRepositories = List(Local, ScalaToolsReleases, ScalaToolsSnapshots).map(Repository.Predefined.apply)
|
||||||
def withLauncher[T](f: xsbti.Launcher => T): T =
|
def withLauncher[T](f: xsbti.Launcher => T): T =
|
||||||
FileUtilities.withTemporaryDirectory { bootDirectory =>
|
FileUtilities.withTemporaryDirectory { bootDirectory =>
|
||||||
f(new Launch(bootDirectory, testRepositories))
|
f(new Launch(bootDirectory, testRepositories, Nil))
|
||||||
}
|
}
|
||||||
|
|
||||||
def mapScalaVersion(versionNumber: String) = scalaVersionMap.find(_._2 == versionNumber).getOrElse {
|
def mapScalaVersion(versionNumber: String) = scalaVersionMap.find(_._2 == versionNumber).getOrElse {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue