Skip to content

Commit 0f953c5

Browse files
author
Robert McNees
committed
Update build.gradle dependency to use Boot version
Update the build.gradle dependency for io.spring.dependency-management to not specifiy the version. This will cause the version that Spring Boot depends on to be used. This is preferred because when dependabot is used in the project we can configure it to exclude all patch release versions. The dependency-management version does not follow the Boot versions, so having the dependency managed automatically is cleaner for the dependabot config.
1 parent 7b60865 commit 0f953c5

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

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 'java'
33
id 'org.springframework.boot' version '3.2.0'
4-
id 'io.spring.dependency-management' version '1.1.4'
54
}
65

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

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 'java'
33
id 'org.springframework.boot' version '3.2.0'
4-
id 'io.spring.dependency-management' version '1.1.4'
54
}
65

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

0 commit comments

Comments
 (0)