step-security/Gradle Dependency Submission

Calculates dependencies for a Gradle build-target and submits the list to the Dependency Submission API

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
tokenGitHub Personal Access Token (PAT). Defaults to PAT provided by Action runnerno${{ github.token }}
use-gradlewDescribes if the action will use `./gradlew` to retrieve the dependencies. Alternative `gradle`yestrue
gradle-project-pathPath to the root of the project to extract dependencies foryes""
gradle-build-moduleThe module for which to resolve dependencies. E.g. `:app`yes""
gradle-build-configurationThe configuration used to retrieve all dependencies from. Java projects usually use `compileClasspath`yes""
gradle-build-configuration-mappingOptional module based configuration mapping. This is a multi line input whereas each line can contain mappings in the format of: `:module-name|configurationName`no
gradle-dependency-pathPath to the file containing the dependency specification. Relative to the provided project-path. By default it will retrieve this via gradle.no
sub-module-modeDefines how the action handles submodules (sub projects). "IGNORE", "COMBINED", "INDIVIDUAL". Default: "IGNORE"noIGNORE
include-build-environmentOptional mode to also submit the `buildEnvironment` to the dependency submission API. This will execute the `buildEnvironment` task on the root module.nofalse
fail-on-errorOptional setting to enable an action failure in case any of the dependencies can not be parsed. Default: `false`.nofalse
correlatorOptional correlator string to submit to GitHub to identify the dependency submission. Defaults to generating based on gradle-build-module and gradle-build-configuration.no""
legacy-supportEnables support for gradle versions below 7.5. Note: If enabled, all properties are read by the action as `--property` was only introduced in Gradle 7.5 or newer.nofalse

no outputs