mirror of https://github.com/sbt/sbt.git
Add dependencyResolution scoped to updateSbtClassifiers task
Fixes #3432
This commit is contained in:
parent
91483e7f06
commit
4dc76e2b38
|
|
@ -2168,6 +2168,7 @@ object Classpaths {
|
||||||
filterImplicit = false,
|
filterImplicit = false,
|
||||||
overrideScalaVersion = true).withScalaOrganization(scalaOrganization.value))
|
overrideScalaVersion = true).withScalaOrganization(scalaOrganization.value))
|
||||||
},
|
},
|
||||||
|
dependencyResolution := IvyDependencyResolution(ivyConfiguration.value),
|
||||||
updateSbtClassifiers in TaskGlobal := (Def.task {
|
updateSbtClassifiers in TaskGlobal := (Def.task {
|
||||||
val lm = dependencyResolution.value
|
val lm = dependencyResolution.value
|
||||||
val s = streams.value
|
val s = streams.value
|
||||||
|
|
|
||||||
|
|
@ -1 +1,9 @@
|
||||||
scalaVersion := "2.11.11"
|
scalaVersion := "2.11.11"
|
||||||
|
|
||||||
|
ivyConfiguration := {
|
||||||
|
throw new RuntimeException("updateSbtClassifiers should use updateSbtClassifiers / ivyConfiguration")
|
||||||
|
}
|
||||||
|
|
||||||
|
dependencyResolution := {
|
||||||
|
throw new RuntimeException("updateSbtClassifiers should use updateSbtClassifiers / dependencyResolution")
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue