You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| DEPENDENCY_GRAPH_INCLUDE_PROJECTS | Projects to include | All projects are included |
54
+
| DEPENDENCY_GRAPH_EXCLUDE_PROJECTS | Projects to exclude | No projects are included |
55
+
| DEPENDENCY_GRAPH_INCLUDE_CONFIGURATIONS | Configurations to include | All configurations are included |
56
+
| DEPENDENCY_GRAPH_EXCLUDE_CONFIGURATIONS | Configurations to exclude | No configurations are included |
53
57
54
58
### Controlling the scope of dependencies in the dependency graph
55
59
56
60
The GitHub dependency graph allows a scope to be assigned to each reported dependency.
57
61
The only permissible values for scope are 'runtime' and 'development'.
58
62
59
-
By default, no scope is assigned to dependencies in the graph. To enable scopes in the generated dependency graph,
60
-
at least one of `DEPENDENCY_GRAPH_RUNTIME_PROJECTS` or `DEPENDENCY_GRAPH_RUNTIME_CONFIGURATIONS` must be configured.
63
+
The following parameters control the set of projects and configurations that provide 'runtime' scoped dependencies.
64
+
Any dependency resolution that does not match these parameters will be scoped 'development'.
61
65
62
-
To restrict which Gradle subprojects contribute 'runtime' dependencies to the report, specify which projects to include via a regular expression.
63
-
You can provide this value via the `DEPENDENCY_GRAPH_RUNTIME_PROJECTS` environment variable or system property.
64
-
For a project not matching this filter, all dependencies will be scoped 'development'.
66
+
Each of these parameters is a regular expression value, and can set either as an environment variable or as a system property on the command line.
65
67
66
-
To restrict which Gradle configurations contribute 'runtime' dependencies to the report, you can filter configurations by name using a regular expression.
67
-
You can provide this value via the `DEPENDENCY_GRAPH_RUNTIME_CONFIGURATIONS` environment variable or system property.
68
-
Dependencies resolved by a matching configuration will be scoped 'runtime': all other dependencies will be scoped 'development'.
0 commit comments