Managed dependencies from Git not updated
See original GitHub issueAs covered by previous issue: https://github.com/sbt/sbt/issues/335
Using SBT 0.13+ and Git dependencies:
val project = RootProject(uri("git://github.com/...."))
val root = Project("root", file(".")) dependsOn(project)
The project is checked into an SBT staging area but any subsequent changes to the dependency are not picked up by an ‘sbt update’.
The ticket above suggests this was fixed in 0.12 but there are also comments that this does not work in 0.13 indicating that this is a bug.
Currently it appears the only way to pull updated code is to delete the dependency from the staging area or manually do a git pull from within the staging area but running ‘sbt update’ should update all dependencies.
Issue Analytics
- State:
- Created 9 years ago
- Reactions:14
- Comments:8 (3 by maintainers)
Top Results From Across the Web
Managed dependencies not updated #335 - sbt/sbt - GitHub
Another workaround is to identify which project needs updating and then do the "git pull ..." in the appropriate staging subdir manually.
Read more >Git and Project Dependencies | Atlassian Git Tutorial
Dependencies are an important aspect of software development. Allows you to manage the versions of other libraries used by your code. Read and...
Read more >Managing software project dependencies with git submodules
Now you can track and update dependency projects independent of your main source tree. One thing to note is all your dependencies need...
Read more >Managing Dependencies with Git and bonus advance concepts
Now you can track and update dependencies project independent of your main source tree. One thing to note is all your dependencies need...
Read more >Learning the Basics - Gradle User Manual
Gradle has built-in support for dependency management and lives up to the task ... A build does not need to declare the local...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@Bladtman242 thanks, but stopped using it as it was just too complex to manage. We just publish locally instead.
I sometimes use sbt-sriracha (http://eed3si9n.com/hot-source-dependencies-using-sbt-sriracha).