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
The previous mapping of env var keys to lowercase for system props
was at attempt to make build scripts look nicer, but violated the
principle of least surprise.
Copy file name to clipboardExpand all lines: README.md
+3-4Lines changed: 3 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,19 +38,18 @@ The following environment variables configure the snapshot generated by the `Git
38
38
-`DEPENDENCY_GRAPH_REPORT_DIR` (optional): Specifies where the dependency graph report will be generated
39
39
40
40
Each of these values can also be provided via a system property.
41
-
The equivalent system property name is lower case, with '_' replaced by '-'.
42
-
eg: Env var `DEPENDENCY_GRAPH_REPORT_DIR` can be set as `-Ddependency-graph-report-dir=foo` on the command-line.
41
+
eg: Env var `DEPENDENCY_GRAPH_REPORT_DIR` can be set with `-DDEPENDENCY_GRAPH_REPORT_DIR=...` on the command-line.
43
42
44
43
### Filtering which Gradle Configurations contribute to the dependency graph
45
44
46
45
If you do not want to include every dependency configuration in every project in your build, you can limit the
47
46
dependency extraction to a subset of these.
48
47
49
48
To restrict which Gradle subprojects contribute to the report, specify which projects to include via a regular expression.
50
-
You can provide this value via the `DEPENDENCY_GRAPH_INCLUDE_PROJECTS` environment variable, or the `dependency-graph-include-projects` System property.
49
+
You can provide this value via the `DEPENDENCY_GRAPH_INCLUDE_PROJECTS` environment variable or system property.
51
50
52
51
To restrict which Gradle configurations contribute to the report, you can filter configurations by name using a regular expression.
53
-
You can provide this value via the `DEPENDENCY_GRAPH_INCLUDE_CONFIGURATIONS` environment variable, or the `dependency-graph-include-configurations` System property.
52
+
You can provide this value via the `DEPENDENCY_GRAPH_INCLUDE_CONFIGURATIONS` environment variable or system property.
0 commit comments