Verbosity fix

This commit is contained in:
Alexandre Archambault 2015-12-30 01:34:37 +01:00
parent f52e2ecca4
commit 8af6efa708
2 changed files with 6 additions and 4 deletions

View File

@ -70,6 +70,12 @@ object CoursierPlugin extends AutoPlugin {
forceVersions = projects.map { case (proj, _) => proj.moduleVersion }.toMap
)
if (verbosity >= 1) {
println("InterProjectRepository")
for ((p, _) <- projects)
println(s" ${p.module}:${p.version}")
}
val interProjectRepo = InterProjectRepository(projects)
val repositories = interProjectRepo +: resolvers.flatMap(FromSbt.repository(_, ivyProperties))

View File

@ -22,10 +22,6 @@ case class InterProjectSource(artifacts: Map[(Module, String), Map[String, Seq[A
case class InterProjectRepository(projects: Seq[(Project, Seq[(String, Seq[Artifact])])]) extends Repository {
Console.err.println("InterProjectRepository")
for ((p, _) <- projects)
Console.err.println(s" ${p.module}:${p.version}")
private val map = projects
.map { case (proj, a) => proj.moduleVersion -> proj }
.toMap