Compile Project from Repository

I’ve been reading a lot about how to pull in from repositories (bitbucket in my case) and how to do multi-project builds either in the same project structure, relative paths, etc, but what I can’t seem to find is how to add a repository as a project and then use that project as a dependency in compile time. Is this even possible? I would imagine it would very similar to a mult-project setup:

project(:projectName).projectDir = new File(…)

but instead of pointing to the file path, I would want to reference the project defined by a repository.

1 Like