mirror of https://github.com/sbt/sbt.git
Stop deducing confs from classifier when delivering
This commit is contained in:
parent
63d657e9c0
commit
978f2304e5
|
|
@ -679,7 +679,7 @@ object Defaults extends BuildCommon {
|
|||
a.copy(classifier = Some(classifierString), `type` = Artifact.classifierType(classifierString), configurations = confs)
|
||||
}
|
||||
}
|
||||
// TODO bad, remove. The configuration(s) should not be decided from the classifier.
|
||||
@deprecated("The configuration(s) should not be decided based on the classifier.", "1.0")
|
||||
def artifactConfigurations(base: Artifact, scope: Configuration, classifier: Option[String]): Iterable[Configuration] =
|
||||
classifier match {
|
||||
case Some(c) => Artifact.classifierConf(c) :: Nil
|
||||
|
|
|
|||
Loading…
Reference in New Issue