mirror of https://github.com/sbt/sbt.git
remove obsolete assertion. ref #143
This commit is contained in:
parent
980e906ca1
commit
8f519a21c0
|
|
@ -23,11 +23,7 @@ object ScalaArtifacts
|
|||
import ScalaArtifacts._
|
||||
|
||||
final case class IvyScala(scalaVersion: String, configurations: Iterable[Configuration], checkExplicit: Boolean, filterImplicit: Boolean, overrideScalaVersion: Boolean, substituteCross: ModuleID => ModuleID)
|
||||
{
|
||||
// otherwise, Ivy produces the error: "impossible to get artifacts when data has not been loaded"
|
||||
// which may be related to sbt's custom conflict manager (now removed), to IVY-987, or both
|
||||
assert(if(overrideScalaVersion) checkExplicit else true, "Explicit Scala version checking cannot be disabled when forcing the Scala version.")
|
||||
}
|
||||
|
||||
private object IvyScala
|
||||
{
|
||||
/** Performs checks/adds filters on Scala dependencies (if enabled in IvyScala). */
|
||||
|
|
|
|||
Loading…
Reference in New Issue