A Gradle plugin for extracting dependencies from a Gradle build to feed the GitHub Dependency API.
This project is currently just a proof of concept, but ideally, this plugin would be automatically applied to any Gradle project using the GitHub Action gradle-build-action.
This plugin leverages the same internal API's used by the Gradle Build Scan Plugin.
This plugin is intended to implement the proposed API for the GitHub Build-Time Dependency Graph API found here and this JSON Schema.
To test this plugin, run the following task:
./gradlew testSelf testing this plugin is also possible.
In order to do this, you'll need a
GitHub API token
set to the environment variable GITHUB_TOKEN.
To run the self-test, run the following:
./gradlew build
./plugin-self-test-local