From 2dd0e2de21b413fb2bdbf21cf8e154b20aef2a3a Mon Sep 17 00:00:00 2001 From: Daniel Chao Date: Thu, 16 Apr 2026 17:09:08 -0700 Subject: [PATCH] Only include *runtimeClasspath and *compileClasspath dependencies (#1529) --- .github/index.pkl | 8 +++++++- .github/workflows/main.yml | 3 ++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/index.pkl b/.github/index.pkl index a7082dc0..6af3b15f 100644 --- a/.github/index.pkl +++ b/.github/index.pkl @@ -192,7 +192,13 @@ main { distribution = "temurin" } } - module.catalog.`gradle/actions/dependency-submission@v6` + (module.catalog.`gradle/actions/dependency-submission@v6`) { + with { + // language=regexp + `dependency-graph-include-configurations` = + ".*[rR]untimeClasspath|.*[cC]ompileClasspath" + } + } } } } |> toWorkflowJobs diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 044bef1a..818cd916 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -844,7 +844,8 @@ jobs: java-version: '25' distribution: temurin - uses: gradle/actions/dependency-submission@50e97c2cd7a37755bbfafc9c5b7cafaece252f6e # v6 - with: {} + with: + dependency-graph-include-configurations: .*[rR]untimeClasspath|.*[cC]ompileClasspath publish-test-results: if: '!cancelled()' needs: