Skip to content

Commit

Permalink
Update build.gradle dependency to use Boot version
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Robert McNees committed Aug 9, 2024
1 parent 7b60865 commit 0f953c5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion complete/build.gradle
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
plugins {
id 'java'
id 'org.springframework.boot' version '3.2.0'
id 'io.spring.dependency-management' version '1.1.4'
}

apply plugin: 'io.spring.dependency-management'

group = 'com.example'
version = '0.0.1-SNAPSHOT'

Expand Down
3 changes: 2 additions & 1 deletion initial/build.gradle
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
plugins {
id 'java'
id 'org.springframework.boot' version '3.2.0'
id 'io.spring.dependency-management' version '1.1.4'
}

apply plugin: 'io.spring.dependency-management'

group = 'com.example'
version = '0.0.1-SNAPSHOT'

Expand Down

0 comments on commit 0f953c5

Please sign in to comment.