mirror of https://github.com/sbt/sbt.git
Merge pull request #5271 from smarter/mkIvyConfiguration-precise-type
Give a more precise type to mkIvyConfiguration
This commit is contained in:
commit
4adb56ae9d
|
|
@ -800,6 +800,11 @@ lazy val mainProj = (project in file("main"))
|
||||||
exclude[IncompatibleSignatureProblem]("sbt.ProjectExtra.inScope"),
|
exclude[IncompatibleSignatureProblem]("sbt.ProjectExtra.inScope"),
|
||||||
exclude[MissingTypesProblem]("sbt.internal.Load*"),
|
exclude[MissingTypesProblem]("sbt.internal.Load*"),
|
||||||
exclude[IncompatibleSignatureProblem]("sbt.internal.Load*"),
|
exclude[IncompatibleSignatureProblem]("sbt.internal.Load*"),
|
||||||
|
// IvyConfiguration was replaced by InlineIvyConfiguration in the generic
|
||||||
|
// signature, this does not break compatibility regardless of what
|
||||||
|
// cast a compiler might have inserted based on the old signature
|
||||||
|
// since we're returning the same values as before.
|
||||||
|
exclude[IncompatibleSignatureProblem]("sbt.Classpaths.mkIvyConfiguration")
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
.configure(
|
.configure(
|
||||||
|
|
|
||||||
|
|
@ -3252,7 +3252,7 @@ object Classpaths {
|
||||||
buildDependencies.value
|
buildDependencies.value
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
def mkIvyConfiguration: Initialize[Task[IvyConfiguration]] =
|
def mkIvyConfiguration: Initialize[Task[InlineIvyConfiguration]] =
|
||||||
Def.task {
|
Def.task {
|
||||||
val (rs, other) = (fullResolvers.value.toVector, otherResolvers.value.toVector)
|
val (rs, other) = (fullResolvers.value.toVector, otherResolvers.value.toVector)
|
||||||
val s = streams.value
|
val s = streams.value
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue