i’m describing a part of my build and hoping to get some ideas for improvement! Our project A that is based on project B. Project B does exist in multiple branches (~8), with multiple versions per branch (~5). So that are approx. 40 versions of B. For each version of B we have an set of artifacts for that version we’re using to setup projectA. This includes the jars of B, specific java files for B, specific config scripts for B, etc. Most of the artifacts stay the same between versions of a branch, only from time to time something changes. Some branches are also almost identical.
Now the way to manage the artifacts right now is: - Have a local repository containing the uniques files (jars, java files, config scripts, etc). - For each version of B we have a folder which can contain a dependencies.gradle file which defines all required files - If no dependencies.gradle is defined, we take that from the upstream version
So this is already not to bad, but the downside is that once one file changes the whole dependency file has to be duplicated in order to change it slightly. Now i’m thinking about a way to only describe for each version: - what has been added - what has been removed - what has been replaced (other version)
Any ideas on that ? best Johannes