I am currently trying to help a team with a legacy build system migrate to gradle, but one of their requirements has me stumped. They must keep their external dependency repository within the SCM. I don’t want to use a flatDir repository as that loses dependency tracking and I haven’t been able to find much information about the format that a local maven repository should take. Ideally I would like to define two seperate repository configurations: 1) mavenCentral, used just by a task that downloads all dependencies and populates the local repository 2) local repository that all other tasks use to satisfy their dependencies
Any help in setting up these configurations and tasks would be greatly appreciated (or a better approach that would simplify this overall). I’d be thrilled just to get the necessary format information for setting up a local repository.