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

2

19

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?)

Witte answered 12/12, 2016 at 3:14 Comment(0)
C
25
>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

Cephalad answered 12/12, 2016 at 4:22 Comment(0)
U
0

Make sure that you check also the default resolvers used by sbt.

They can be found in sbt.boot.properties file, see details here: https://mcmap.net/q/667181/-what-are-the-default-repositories-that-sbt-uses

Uranyl answered 8/4, 2019 at 17:16 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.