Class DependenciesRepoManager

java.lang.Object
org.modelingvalue.gradle.mvgplugin.DependenciesRepoManager

public class DependenciesRepoManager extends Object
keeps a repo with dependencies.

repo contents:

if the following dependencies exist:

     gh-app produces some-application
     gh-lib produces test.ab.c.lib
     gh-bas produces test.base.lib

     gh-app uses     test.ab.c.lib
     gh-app uses     test.qw.e.lib
     gh-lib uses     test.base.lib
     gh-lib uses     test.qw.e.lib
 
then the following files are created in the dependencies repo on the same branch as the underlaying project:
     test/ab/c/lib/gh-app.trigger
     test/base/lib/gh-lib.trigger
     test/qw/e/lib/gh-app.trigger
     test/qw/e/lib/gh-lib.trigger
 
All files are property files with a property WORKFLOWS with all the workflows to trigger (/-separated):
     WORKFLOWS=build.yaml/test.yml/xyzzy.yaml
 
  • Constructor Details

    • DependenciesRepoManager

      public DependenciesRepoManager(Path buildDir)
  • Method Details

    • saveDependencies

      public void saveDependencies(Set<String> packages)
    • trigger

      public void trigger(Set<String> publications)