Open chris13524 opened 3 years ago
Do you need to checkout a single git repo and then add several directories from it as project dependencies? Can you provide more info about your use case please?
I did solve this by including the modules as separate git dependencies.
Any updates on this?
I have a library project with lots of modules which need to be imported as needed into the app project.
The internal project dependencies are not working when pulled from the git since the app project overrides the library include
project path.
Or Did anyone found any magical path which can work on both library projects and app projects?
Archived multi-project import via this path.
include('accelerator')
project(':accelerator').projectDir = file(libPath + "/accelerator")
include('models')
project(':models').projectDir = file(libPath + "/models")
While :accelerator
, :models
and many other modules are from lib and are under the same lib dir. And lib module includes as include ':accelerator'
and on and on...
It doesn't seem like this plugin supports choosing a project inside of a multi-project build.
It does support
dir
, but it appears this breaks the ability for the project to include another project from the same Git repo.