Skip to content

Commit 6fd3dbb

Browse files
author
Robert McNees
committed
Update Gradle Build files for dependabot
Allow the version for io.spring.dependency-management to be managed without a version number. This allows the dependabot configuration to be a more straightforward approach and exclude all projects for a patch release.
1 parent 95a61b7 commit 6fd3dbb

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.github/dependabot.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ updates:
2121
- "/initial"
2222
- "/complete"
2323
ignore:
24-
- dependency-name: "org.springframework.*"
24+
- dependency-name: "*"
2525
update-types: ["version-update:semver-patch"]
2626
schedule:
2727
interval: "monthly"

complete/build.gradle

+2-1
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

+2-1
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)