Sbt- Passing a project and it’s dependencies as dependency in another project

I have a project A which has all spark and hadoop dependencies. Another project B has been created which requires the code of project A to execute as well as it's dependencies. The reason for having project A and its dependencies is because the project B can be imagined as an extension of Project A with some additional functionality and also code reusability purposes. The version of scala for both the projects will be the same.

Basically Project B Dependencies = (Project A / Project A Dependencies)

Any help on how to achieve this would be appreciated.



Read more here: https://stackoverflow.com/questions/68490152/sbt-passing-a-project-and-its-dependencies-as-dependency-in-another-project

Content Attribution

This content was originally published by sa'kage at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: