Skip to content

Commit bb35bac

Browse files
author
Robert McNees
committed
Add dependabot configuration
Gradle build files were also modified so that the version for io.spring.dependency-management is not explicitly defined. This allows dependabot to skip all patch releases.
1 parent e4e2d7d commit bb35bac

File tree

3 files changed

+36
-2
lines changed

3 files changed

+36
-2
lines changed

.github/dependabot.yml

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
version: 2
2+
updates:
3+
4+
- package-ecosystem: "maven"
5+
directories:
6+
- "/initial"
7+
- "/complete"
8+
ignore:
9+
- dependency-name: "*"
10+
update-types: ["version-update:semver-patch"]
11+
schedule:
12+
interval: "monthly"
13+
target-branch: "main"
14+
groups:
15+
guide-dependencies-maven:
16+
patterns:
17+
- "*"
18+
19+
- package-ecosystem: "gradle"
20+
directories:
21+
- "/initial"
22+
- "/complete"
23+
ignore:
24+
- dependency-name: "*"
25+
update-types: ["version-update:semver-patch"]
26+
schedule:
27+
interval: "monthly"
28+
target-branch: "main"
29+
groups:
30+
guide-dependencies-gradle:
31+
patterns:
32+
- "*"

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)