mirror of https://github.com/sbt/sbt.git
Make warnings for multiple resolvers with same name more verbose.
Just so that user can figure out more quickly what's going on
This commit is contained in:
parent
ea08f86520
commit
940b77f940
|
|
@ -805,7 +805,7 @@ object Classpaths
|
|||
)
|
||||
def warnResolversConflict(ress: Seq[Resolver], log: Logger) {
|
||||
for ((name, r) <- ress groupBy (_.name) if r.size > 1) {
|
||||
log.warn("Multiple resolvers configured with the name '" + name + "'. Rename to avoid conflict.")
|
||||
log.warn("Multiple resolvers configured with the name '" + name + "'. To avoid conflict, Remove duplicate project resolvers (`resolvers`) or rename publishing resolver (`publishTo`).")
|
||||
}
|
||||
}
|
||||
def pluginProjectID: Initialize[ModuleID] = (sbtVersion in update, sbtBinaryVersion in update, scalaVersion in update, scalaBinaryVersion in update, projectID, sbtPlugin) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue