I have 2 sbt sub projects and would like to share certain files between the two projects. I have shown shared files under the config
below. I would like to read these files in app1 and app2 at runtime. I have looked at this post sharing resources between sbt projects but that seems to have some limitation.
Here is the directory structure i am working with:
root/
config/ // NEED TO SHARED THESE FILES WITH APP1 and APP2
file1.txt
file2.txt
app1/
build.sbt
src/
app2/
build.sbt
src/
project
build.sbt
How should my build.sbt be structured so that I can share the config
directory between app1 and app2?