Add dependencyResolution scoped to updateSbtClassifiers task

Fixes #3432
This commit is contained in:
Jason Steenstra-Pickens 2018-04-06 10:41:31 +12:00
parent 91483e7f06
commit 4dc76e2b38
2 changed files with 9 additions and 0 deletions

View File

@ -2168,6 +2168,7 @@ object Classpaths {
filterImplicit = false,
overrideScalaVersion = true).withScalaOrganization(scalaOrganization.value))
},
dependencyResolution := IvyDependencyResolution(ivyConfiguration.value),
updateSbtClassifiers in TaskGlobal := (Def.task {
val lm = dependencyResolution.value
val s = streams.value

View File

@ -1 +1,9 @@
scalaVersion := "2.11.11"
ivyConfiguration := {
throw new RuntimeException("updateSbtClassifiers should use updateSbtClassifiers / ivyConfiguration")
}
dependencyResolution := {
throw new RuntimeException("updateSbtClassifiers should use updateSbtClassifiers / dependencyResolution")
}