remove obsolete assertion. ref #143

This commit is contained in:
Mark Harrah 2011-08-04 18:08:21 -04:00
parent 980e906ca1
commit 8f519a21c0
1 changed files with 1 additions and 5 deletions

View File

@ -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). */