Skip to content

Commit

Permalink
Add "runtime" / "development" scopes to dependency submission (#5174)
Browse files Browse the repository at this point in the history
  • Loading branch information
devinrsmith committed Feb 21, 2024
1 parent d85ba8f commit dd88816
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/dependency-submission.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,10 @@ jobs:
- name: Generate and submit dependency graph
uses: gradle/actions/dependency-submission@v3
env:
# Dependencies derived from :server-jetty-app runtimeClasspath get a "runtime" scope and everything else gets
# a "development" scope. Ideally, gradle would be able to pass along the finer dependency details (for
# example, the exact configuration scopes), but this is a limitation of GitHub dependency submissions API, see
# note in https://github.com/gradle/actions/tree/main/dependency-submission#limiting-the-dependencies-that-appear-in-the-dependency-graph
DEPENDENCY_GRAPH_RUNTIME_INCLUDE_PROJECTS: ':server-jetty-app'
DEPENDENCY_GRAPH_RUNTIME_INCLUDE_CONFIGURATIONS: 'runtimeClasspath'

0 comments on commit dd88816

Please sign in to comment.