mirror of
https://github.com/gradle/gradle-build-action.git
synced 2025-04-19 15:04:46 +02:00
840: Fix configuration name in dependency filtering section
Fixes: https://github.com/gradle/gradle-build-action/issues/840
This commit is contained in:
parent
e3028deccc
commit
bd7dc8ec7e
1 changed files with 3 additions and 3 deletions
|
@ -461,7 +461,7 @@ You can provide this value via the `DEPENDENCY_GRAPH_INCLUDE_PROJECTS` environme
|
||||||
To restrict which Gradle configurations contribute to the report, you can filter configurations by name using a regular expression.
|
To restrict which Gradle configurations contribute to the report, you can filter configurations by name using a regular expression.
|
||||||
You can provide this value via the `DEPENDENCY_GRAPH_INCLUDE_CONFIGURATIONS` environment variable or system property.
|
You can provide this value via the `DEPENDENCY_GRAPH_INCLUDE_CONFIGURATIONS` environment variable or system property.
|
||||||
|
|
||||||
Example of a simple workflow that limits the dependency graph to `RuntimeClasspath` configuration:
|
Example of a simple workflow that limits the dependency graph to `runtimeClasspath` configuration:
|
||||||
```yaml
|
```yaml
|
||||||
name: Submit dependency graph
|
name: Submit dependency graph
|
||||||
on:
|
on:
|
||||||
|
@ -479,8 +479,8 @@ jobs:
|
||||||
uses: gradle/gradle-build-action@v2
|
uses: gradle/gradle-build-action@v2
|
||||||
with:
|
with:
|
||||||
dependency-graph: generate-and-submit
|
dependency-graph: generate-and-submit
|
||||||
- name: Run a build, generating the dependency graph from 'RuntimeClasspath' configurations
|
- name: Run a build, generating the dependency graph from 'runtimeClasspath' configurations
|
||||||
run: ./gradlew build -DDEPENDENCY_GRAPH_INCLUDE_CONFIGURATIONS=RuntimeClasspath
|
run: ./gradlew build -DDEPENDENCY_GRAPH_INCLUDE_CONFIGURATIONS=runtimeClasspath
|
||||||
```
|
```
|
||||||
|
|
||||||
### Gradle version compatibility
|
### Gradle version compatibility
|
||||||
|
|
Loading…
Add table
Reference in a new issue