Skip to content

Commit bd6c0bf

Browse files
refactor: consolidate Dependabot dependency groups and remove placeholder pom.xml
- Consolidate 4 Dependabot entries into 2 (single gradle + github-actions) - Merge gradle directories (/, /java-8, /android) into one entry - Remove maven ecosystem entry (pom.xml was only a placeholder) - Add dependency groups: microsoft-graph, android-build-tools, all-actions - Add Gradle dependency submission job to gradle-build.yml - Delete placeholder pom.xml and clean up references Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 567c88b commit bd6c0bf

5 files changed

Lines changed: 29 additions & 84 deletions

File tree

.github/dependabot.yml

Lines changed: 12 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ updates:
44
directories:
55
- "/"
66
- "/java-8"
7+
- "/android"
78
schedule:
89
interval: daily
910
time: "09:00" # 9am UTC
@@ -12,45 +13,27 @@ updates:
1213
kiota-dependencies:
1314
patterns:
1415
- "*kiota*"
15-
junit-dependencies:
16-
patterns:
17-
- "*junit*"
18-
open-telemetry:
19-
patterns:
20-
- "*opentelemetry*"
21-
- package-ecosystem: gradle
22-
directory: "/android"
23-
schedule:
24-
interval: daily
25-
time: "10:00" # 10am UTC. After core projects are updated to prevent duplicate PRs
26-
open-pull-requests-limit: 10
27-
groups:
28-
kiota-dependencies:
16+
microsoft-graph:
2917
patterns:
30-
- "*kiota*"
18+
- "*microsoft-graph*"
3119
junit-dependencies:
3220
patterns:
3321
- "*junit*"
3422
open-telemetry:
3523
patterns:
3624
- "*opentelemetry*"
37-
- package-ecosystem: maven
38-
directory: "/"
39-
schedule:
40-
interval: daily
41-
open-pull-requests-limit: 10
42-
groups:
43-
kiota-dependencies:
44-
patterns:
45-
- "*kiota*"
46-
junit-dependencies:
47-
patterns:
48-
- "*junit*"
49-
open-telemetry:
25+
android-build-tools:
5026
patterns:
51-
- "*opentelemetry*"
27+
- "*android*"
28+
- "*gradle-enterprise*"
29+
- "*gradle-util*"
30+
- "*gradle-versions*"
5231
- package-ecosystem: github-actions
5332
directory: "/"
5433
schedule:
5534
interval: daily
5635
open-pull-requests-limit: 10
36+
groups:
37+
all-actions:
38+
patterns:
39+
- "*"

.github/workflows/gradle-build.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,3 +81,19 @@ jobs:
8181
exit 1
8282
fi
8383
84+
dependency-submission:
85+
runs-on: ubuntu-latest
86+
if: github.event_name == 'push'
87+
permissions:
88+
contents: write
89+
steps:
90+
- uses: actions/checkout@v6
91+
- name: Set up JDK
92+
uses: actions/setup-java@v5
93+
with:
94+
java-version: 21
95+
distribution: 'temurin'
96+
cache: gradle
97+
- name: Generate and submit dependency graph
98+
uses: gradle/actions/dependency-submission@v4
99+

build.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ java {
2323
sourceSets {
2424
main {
2525
java {
26-
exclude 'pom.xml'
2726
}
2827
}
2928
}

pom.xml

Lines changed: 0 additions & 48 deletions
This file was deleted.

release-please-config.json

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,7 @@
1616
"extra-files": [
1717
"gradle.properties",
1818
"README.md",
19-
"src/main/java/com/microsoft/graph/info/Constants.java",
20-
{
21-
"type": "xml",
22-
"path": "pom.xml",
23-
"xpath": "//project/version"
24-
}
19+
"src/main/java/com/microsoft/graph/info/Constants.java"
2520
]
2621
}
2722
},

0 commit comments

Comments
 (0)