We have a project that is composed of modules (or plugins). At the moment each plugin is part of the main product repository, but I have now been asked to move these into their own repos. This fine on the surface, but sometimes these modules have build time dependencies with each other, since a change in one depends on a change in another. Working with one repo this causes no issues, but I am worried this will break pull-requests and continuous integration with Jenkins (we use Jenkins to validate pull-requests), once have moved things.
The question is whether git sub-tree can allow this to work seamlessly in Atlassian Stash, taking into account pull-requests and Jenkins? The last thing I want is a required pull-request being merged after it's dependant.