Skip to content

Commit

Permalink
Update dependabot and Gradle files
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Robert McNees committed Aug 1, 2024
1 parent 544c639 commit 73214f7
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 22 deletions.
35 changes: 15 additions & 20 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,37 +1,32 @@
version: 2
updates:
- package-ecosystem: "maven"
directory: "/initial/"
ignore:
- dependency-name: "*"
update-types: ["version-update:semver-patch"]
schedule:
interval: "monthly"
target-branch: "main"

- package-ecosystem: "gradle"
directory: "/initial/"
ignore:
- dependency-name: "org.springframework.*"
update-types: ["version-update:semver-patch"]
schedule:
interval: "monthly"
target-branch: "main"

- package-ecosystem: "maven"
directory: "/complete/"
directories:
- "/initial"
- "/complete"
ignore:
- dependency-name: "*"
update-types: ["version-update:semver-patch"]
schedule:
interval: "monthly"
target-branch: "main"
groups:
guide-dependencies-maven:
patterns:
- "*"

- package-ecosystem: "gradle"
directory: "/complete/"
directories:
- "/initial"
- "/complete"
ignore:
- dependency-name: "org.springframework.*"
- dependency-name: "*"
update-types: ["version-update:semver-patch"]
schedule:
interval: "monthly"
target-branch: "main"
groups:
guide-dependencies-gradle:
patterns:
- "*"
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 73214f7

Please sign in to comment.