From 14990105a1fe4cfe69f78ce98d2cbd060d04871a Mon Sep 17 00:00:00 2001 From: iamsanjay Date: Sat, 23 Aug 2025 13:31:13 +0530 Subject: [PATCH 1/3] adding dependency graph submission workflow --- .../workflows/dependency-graph-submission.yml | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/dependency-graph-submission.yml diff --git a/.github/workflows/dependency-graph-submission.yml b/.github/workflows/dependency-graph-submission.yml new file mode 100644 index 000000000000..ed92c7b39723 --- /dev/null +++ b/.github/workflows/dependency-graph-submission.yml @@ -0,0 +1,21 @@ +name: Dependency Graph Submission + +on: + push: + branches: [ 'main' ] + +permissions: + contents: write + +jobs: + dependency-submission: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-java@v4 + with: + distribution: temurin + java-version: 21 + + - name: Generate and submit dependency graph + uses: gradle/actions/dependency-submission@v4 From 70102249aaa15d5d94288221926cb2d0bc23c11b Mon Sep 17 00:00:00 2001 From: Sanjay Dutt Date: Sat, 23 Aug 2025 22:14:46 +0530 Subject: [PATCH 2/3] Excluding jars and adding develocity info --- .../workflows/dependency-graph-submission.yml | 32 +++++++++++++------ 1 file changed, 23 insertions(+), 9 deletions(-) diff --git a/.github/workflows/dependency-graph-submission.yml b/.github/workflows/dependency-graph-submission.yml index ed92c7b39723..d432d87382e9 100644 --- a/.github/workflows/dependency-graph-submission.yml +++ b/.github/workflows/dependency-graph-submission.yml @@ -1,8 +1,8 @@ -name: Dependency Graph Submission +name: Dependency Submission on: push: - branches: [ 'main' ] + branches: [ main ] permissions: contents: write @@ -11,11 +11,25 @@ jobs: dependency-submission: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - uses: actions/setup-java@v4 - with: - distribution: temurin - java-version: 21 + - uses: actions/checkout@v4 - - name: Generate and submit dependency graph - uses: gradle/actions/dependency-submission@v4 + - uses: actions/setup-java@v4 + with: + distribution: temurin + java-version: 21 + + - uses: gradle/actions/setup-gradle@v4 + with: + develocity-url: https://develocity.apache.org + + - name: Generate and submit dependency graph + uses: gradle/actions/dependency-submission@v4 + with: + build-scan-publish: true + develocity-access-key: ${{ secrets.SOLR_DEVELOCITY_ACCESS_KEY }} + + env: + DEPENDENCY_GRAPH_INCLUDE_CONFIGURATIONS: "(?i)(^|:)(compileClasspath|runtimeClasspath|testCompileClasspath|testRuntimeClasspath)$" + DEPENDENCY_GRAPH_EXCLUDE_CONFIGURATIONS: "(?i)(^|:)(classpath|.*PluginClasspath|kotlinCompilerClasspath|kaptClasspath|annotationProcessor|detachedConfiguration.*)$" + DEPENDENCY_GRAPH_RUNTIME_INCLUDE_CONFIGURATIONS: "(?i)(^|:)runtimeClasspath$" + DEPENDENCY_GRAPH_RUNTIME_EXCLUDE_CONFIGURATIONS: "(?i)(^|:)testRuntimeClasspath$" From 0f4a6199fc16a71326433d10056eda0022b272ee Mon Sep 17 00:00:00 2001 From: Sanjay Dutt Date: Sun, 24 Aug 2025 11:54:51 +0530 Subject: [PATCH 3/3] remove develocity integration --- .github/workflows/dependency-graph-submission.yml | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/.github/workflows/dependency-graph-submission.yml b/.github/workflows/dependency-graph-submission.yml index d432d87382e9..f95eaa58582c 100644 --- a/.github/workflows/dependency-graph-submission.yml +++ b/.github/workflows/dependency-graph-submission.yml @@ -17,17 +17,9 @@ jobs: with: distribution: temurin java-version: 21 - - - uses: gradle/actions/setup-gradle@v4 - with: - develocity-url: https://develocity.apache.org - + - name: Generate and submit dependency graph uses: gradle/actions/dependency-submission@v4 - with: - build-scan-publish: true - develocity-access-key: ${{ secrets.SOLR_DEVELOCITY_ACCESS_KEY }} - env: DEPENDENCY_GRAPH_INCLUDE_CONFIGURATIONS: "(?i)(^|:)(compileClasspath|runtimeClasspath|testCompileClasspath|testRuntimeClasspath)$" DEPENDENCY_GRAPH_EXCLUDE_CONFIGURATIONS: "(?i)(^|:)(classpath|.*PluginClasspath|kotlinCompilerClasspath|kaptClasspath|annotationProcessor|detachedConfiguration.*)$"