mirror of https://github.com/sbt/sbt.git
Print exclusions in output
Fixes https://github.com/alexarchambault/coursier/issues/118
This commit is contained in:
parent
7330494873
commit
22fd372b0e
|
|
@ -4,8 +4,14 @@ import coursier.core.{Module, Project, Orders, Dependency}
|
|||
|
||||
object Print {
|
||||
|
||||
def dependency(dep: Dependency): String =
|
||||
s"${dep.module}:${dep.version}:${dep.configuration}"
|
||||
def dependency(dep: Dependency): String = {
|
||||
val exclusionsStr = dep.exclusions.toVector.sorted.map {
|
||||
case (org, name) =>
|
||||
s"\n exclude($org, $name)"
|
||||
}.mkString
|
||||
|
||||
s"${dep.module}:${dep.version}:${dep.configuration}$exclusionsStr"
|
||||
}
|
||||
|
||||
def dependenciesUnknownConfigs(deps: Seq[Dependency], projects: Map[(Module, String), Project]): String = {
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue