Skip to content

Update dependencies in the sub-module build.sbt #3151

Answered by fthomas
yadavan88 asked this question in Q&A
Discussion options

You must be logged in to vote

Do I need to do something to manage these deps?

Yes, you need to set the buildRoots in your .scala-steward.conf to also update projects in subdirectories. Here is the relevant documentation from https://github.com/scala-steward-org/scala-steward/blob/main/docs/repo-specific-configuration.md:

It is possible to have multiple scala projects in a single repository. In that case the folders containing the projects (build.sbt folders)
are specified using the buildRoots property. Note that the paths used there are relative and if the repo directory itself also contains a build.sbt the dot can be used to specify it.
Default: ["."]
buildRoots = [ ".", "subfolder/projectA" ]

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@yadavan88
Comment options

@fthomas
Comment options

@yadavan88
Comment options

@fthomas
Comment options

@yadavan88
Comment options

Answer selected by yadavan88
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants