Skip to content

Commit 73214f7

Browse files
author
Robert McNees
committed
Update dependabot and Gradle files
This commit changes the dependency-management plugin in Gradle build files so that the version number is not set excplicitly but rather managed by Boot.
1 parent 544c639 commit 73214f7

File tree

3 files changed

+19
-22
lines changed

3 files changed

+19
-22
lines changed

.github/dependabot.yml

Lines changed: 15 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,32 @@
11
version: 2
22
updates:
3-
- package-ecosystem: "maven"
4-
directory: "/initial/"
5-
ignore:
6-
- dependency-name: "*"
7-
update-types: ["version-update:semver-patch"]
8-
schedule:
9-
interval: "monthly"
10-
target-branch: "main"
11-
12-
- package-ecosystem: "gradle"
13-
directory: "/initial/"
14-
ignore:
15-
- dependency-name: "org.springframework.*"
16-
update-types: ["version-update:semver-patch"]
17-
schedule:
18-
interval: "monthly"
19-
target-branch: "main"
203

214
- package-ecosystem: "maven"
22-
directory: "/complete/"
5+
directories:
6+
- "/initial"
7+
- "/complete"
238
ignore:
249
- dependency-name: "*"
2510
update-types: ["version-update:semver-patch"]
2611
schedule:
2712
interval: "monthly"
2813
target-branch: "main"
14+
groups:
15+
guide-dependencies-maven:
16+
patterns:
17+
- "*"
2918

3019
- package-ecosystem: "gradle"
31-
directory: "/complete/"
20+
directories:
21+
- "/initial"
22+
- "/complete"
3223
ignore:
33-
- dependency-name: "org.springframework.*"
24+
- dependency-name: "*"
3425
update-types: ["version-update:semver-patch"]
3526
schedule:
3627
interval: "monthly"
3728
target-branch: "main"
29+
groups:
30+
guide-dependencies-gradle:
31+
patterns:
32+
- "*"

complete/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
plugins {
22
id 'org.springframework.boot' version '3.3.0'
3-
id 'io.spring.dependency-management' version '1.1.5'
43
id 'java'
54
}
65

6+
apply plugin: 'io.spring.dependency-management'
7+
78
group = 'com.example'
89
version = '0.0.1-SNAPSHOT'
910
sourceCompatibility = '17'

initial/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
plugins {
22
id 'org.springframework.boot' version '3.3.0'
3-
id 'io.spring.dependency-management' version '1.1.5'
43
id 'java'
54
}
65

6+
apply plugin: 'io.spring.dependency-management'
7+
78
group = 'com.example'
89
version = '0.0.1-SNAPSHOT'
910
sourceCompatibility = '17'

0 commit comments

Comments
 (0)