Skip to content

Commit 31e0560

Browse files
author
Robert McNees
committed
Configure dependabot to update dependency version
In addtion to adding a dependabot configuration file, this commit also modifies gradle files so that dependabot will find and update the versions correctly. Jenkins references were removed as the project now uses GitHub Actions for CI.
1 parent 5f81322 commit 31e0560

File tree

7 files changed

+48
-88
lines changed

7 files changed

+48
-88
lines changed

.github/dependabot.yml

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

Jenkinsfile

Lines changed: 0 additions & 44 deletions
This file was deleted.

complete/configuration-client/build.gradle

Lines changed: 3 additions & 2 deletions
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'
@@ -14,7 +15,7 @@ repositories {
1415
}
1516

1617
ext {
17-
set('springCloudVersion', "2023.0.2")
18+
springCloudVersion = '2023.0.2'
1819
}
1920

2021
dependencies {

complete/configuration-service/build.gradle

Lines changed: 3 additions & 2 deletions
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'
@@ -14,7 +15,7 @@ repositories {
1415
}
1516

1617
ext {
17-
set('springCloudVersion', "2023.0.2")
18+
springCloudVersion = '2023.0.2'
1819
}
1920

2021
dependencies {

initial/configuration-client/build.gradle

Lines changed: 3 additions & 2 deletions
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'
@@ -14,7 +15,7 @@ repositories {
1415
}
1516

1617
ext {
17-
set('springCloudVersion', "2023.0.2")
18+
springCloudVersion = '2023.0.2'
1819
}
1920

2021
dependencies {

initial/configuration-service/build.gradle

Lines changed: 3 additions & 2 deletions
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'
@@ -14,7 +15,7 @@ repositories {
1415
}
1516

1617
ext {
17-
set('springCloudVersion', "2023.0.2")
18+
springCloudVersion = '2023.0.2'
1819
}
1920

2021
dependencies {

test/run.sh

Lines changed: 0 additions & 36 deletions
This file was deleted.

0 commit comments

Comments
 (0)