Search Gradle plugins

org.gradle.github-dependency-graph-gradle-plugin

Owner: Gradle

Generates a dependency graph snapshot for any Gradle build, which can be submitted via the GitHub Dependency Submission API.

https://github.com/gradle/github-dependency-graph-gradle-plugin

Sources: https://github.com/gradle/github-dependency-extractor

Version 0.0.3

Created 05 July 2023.

Preliminary release of the github dependency graph plugin. - Don't override the default tasks in `ForceDependencyResolutionPlugin` - Allow `job.correlator` to be specified via `GITHUB_DEPENDENCY_GRAPH_JOB_CORRELATOR` variable - Allow report directory to be specified via `GITHUB_DEPENDENCY_GRAPH_REPORT_DIR` variable

Add this plugin to your build using the plugins DSL:

plugins {
  id("org.gradle.github-dependency-graph-gradle-plugin") version "0.0.3"
}

See also:

  • Adding the plugin to build logic for usage in precompiled script plugins.

    See the relevant documentation for more information.

    Add this plugin as a dependency to <convention-plugins-build>/build.gradle(.kts):

    dependencies {
      implementation("org.gradle.github-dependency-graph-gradle-plugin:org.gradle.github-dependency-graph-gradle-plugin.gradle.plugin:0.0.3")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("org.gradle.github-dependency-graph-gradle-plugin")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("org.gradle.github-dependency-graph-gradle-plugin:org.gradle.github-dependency-graph-gradle-plugin.gradle.plugin:0.0.3")
      }
    }
    
    apply(plugin = "org.gradle.github-dependency-graph-gradle-plugin")
  • Applying plugins to all subprojects .