Skip to content

Commit

Permalink
Update Gradle Build files for dependabot
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Robert McNees committed Jul 2, 2024
1 parent 95a61b7 commit 6fd3dbb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ updates:
- "/initial"
- "/complete"
ignore:
- dependency-name: "org.springframework.*"
- dependency-name: "*"
update-types: ["version-update:semver-patch"]
schedule:
interval: "monthly"
Expand Down
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 'org.springframework.boot' version '3.3.0'
id 'io.spring.dependency-management' version '1.1.5'
id 'java'
}

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

group = 'com.example'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '17'
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 'org.springframework.boot' version '3.3.0'
id 'io.spring.dependency-management' version '1.1.5'
id 'java'
}

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

group = 'com.example'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '17'
Expand Down

0 comments on commit 6fd3dbb

Please sign in to comment.