Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correctly locate Dependencies.scala in multi-project SBT configurations #34

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

4e6
Copy link

@4e6 4e6 commented Dec 8, 2024

closes #16

Issue

The dependencyUpgrade command looks for Dependencies.scala in the project base directory. But in multi-project SBT configurations the file is located in the root directory, and not the base of an individual project, i.e.

build.sbt
project
  Dependencies.scala
modules
  proj1
    src
      ...
  proj2
    src
      ...

which causes the dependenciesUpgrade command to fail.

Description

This PR allows searching for project/Dependencies.scala file in parent directories of the project base, allowing to use the plugin in arbitrary multi-project setups.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow setting location of Dependencies.scala explicitly
1 participant