mirror of https://github.com/sbt/sbt.git
Use resolver stuff of sbt-coursier from sbt-lm-coursier
Makes more scripted tests pass
This commit is contained in:
parent
ad11bd5f32
commit
d729586e3a
|
|
@ -32,7 +32,7 @@ object LmCoursierPlugin extends AutoPlugin {
|
|||
|
||||
private def mkCoursierConfiguration: Def.Initialize[Task[CoursierConfiguration]] =
|
||||
Def.task {
|
||||
val rs = fullResolvers.value.toVector
|
||||
val rs = coursierRecursiveResolvers.value
|
||||
val interProjectDependencies = coursierInterProjectDependencies.value
|
||||
val excludeDeps = Inputs.exclusions(
|
||||
excludeDependencies.value,
|
||||
|
|
@ -43,7 +43,7 @@ object LmCoursierPlugin extends AutoPlugin {
|
|||
val s = streams.value
|
||||
Classpaths.warnResolversConflict(rs, s.log)
|
||||
CoursierConfiguration()
|
||||
.withResolvers(rs)
|
||||
.withResolvers(rs.toVector)
|
||||
.withInterProjectDependencies(interProjectDependencies.toVector)
|
||||
.withExcludeDependencies(
|
||||
excludeDeps
|
||||
|
|
|
|||
Loading…
Reference in New Issue