Support multiple invocations in dependency-graph init script

If an existing dependency graph file is present for the configured job correlator,
we now generate a unique correlator value for the invocation. This allows the action
to submit dependency snapshots for a series of Gradle invocations within the same Job.

This commit updates to `github-dependency-graph-gradle-plugin@v0.0.6`, which reduces
redundancy in the mapping of resolved Gradle dependencies to the GitHub Dependency Graph.
This commit is contained in:
daz
2023-07-15 18:06:38 -06:00
parent 3c11eee5f9
commit b69de5f2a9
4 changed files with 100 additions and 10 deletions

View File

@@ -3,7 +3,7 @@ buildscript {
maven { url "https://plugins.gradle.org/m2/" }
}
dependencies {
classpath "org.gradle:github-dependency-graph-gradle-plugin:0.0.5"
classpath "org.gradle:github-dependency-graph-gradle-plugin:0.0.6"
}
}
apply plugin: org.gradle.github.GitHubDependencyGraphPlugin