mirror of
https://github.com/gradle/actions.git
synced 2026-05-31 17:11:57 +00:00
be413309fa
- Dependency graph init-script references published version of plugin jar.
- `dependency-graph-generate` action will:
- Provision Gradle if required
- Execute Gradle with dependency-graph plugin to generate graph JSON
- Upload dependency-graph JSON file as workflow artifact
- `dependency-graph-submit` action will:
- Download dependency-graph JSON artifact
- Submit the graph via the GitHub dependency submission API
13 lines
288 B
Groovy
13 lines
288 B
Groovy
import org.gradle.github.GitHubDependencyGraphPlugin
|
|
initscript {
|
|
repositories {
|
|
maven {
|
|
url = uri("https://plugins.gradle.org/m2/")
|
|
}
|
|
}
|
|
dependencies {
|
|
classpath("org.gradle:github-dependency-graph-gradle-plugin:+")
|
|
}
|
|
}
|
|
apply plugin: GitHubDependencyGraphPlugin
|