Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs for filtering dependency graph incorrectly use 'RuntimeClasspath' rather than 'runtimeClasspath' #840

Closed
big-andy-coates opened this issue Aug 16, 2023 · 0 comments · Fixed by #842

Comments

@big-andy-coates
Copy link
Contributor

See docs here: https://github.com/gradle/gradle-build-action#filtering-which-gradle-configurations-contribute-to-the-dependency-graph

The DEPENDENCY_GRAPH_INCLUDE_CONFIGURATIONS setting accepts a regular expression of configurations to include. This looks to be case sensitive. The example uses RuntimeClasspath, yet I'm seeing the configuration called runtimeClasspath (lowercase first letter).

Not sure if this case changes depending on Gradle version...? I'm using 8.0.2.

big-andy-coates added a commit to big-andy-coates/gradle-build-action that referenced this issue Aug 16, 2023
big-andy-coates added a commit to big-andy-coates/gradle-build-action that referenced this issue Aug 16, 2023
Fixes: gradle#840

With Gradle 8.0.2 (not tried other versions) the configuration name is runtimeClasspath not RuntimeClasspath. Using the latter results in an empty set of dependencies being reported (as it matches no configurations).

Signed-off-by: Andy Coates <8012398+big-andy-coates@users.noreply.github.com>
bigdaz pushed a commit that referenced this issue Aug 16, 2023
Fixes: #840

With Gradle 8.0.2 (not tried other versions) the configuration name is runtimeClasspath not RuntimeClasspath. Using the latter results in an empty set of dependencies being reported (as it matches no configurations).

Signed-off-by: Andy Coates <8012398+big-andy-coates@users.noreply.github.com>
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment