Search code examples
scalasbtivy

SBT: is there a way to print the list of resolvers?


I have a big project with many plugins. I think some of the resolvers are been added by some of the plugins. Is there a way to see what is there in the list of resolvers? (and how there are ordered?)


Solution

  • >sbt
    >show fullResolvers //list all *resolvers* in project,
    >show resolvers //list added *resolvers*
    

    and you also can use inspect to replace show, like: inspect resolvers.

    The order is in a ArrayBuffer. if you want to change the order, maybe this article is helpful:

    http://www.scala-sbt.org/0.13.5/docs/Detailed-Topics/Library-Management.html