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 4492771 commit c055131
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 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
5 changes: 3 additions & 2 deletions 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 All @@ -15,7 +16,7 @@ repositories {
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
implementation 'org.springframework.boot:spring-boot-starter-web'
testImplementation('org.springframework.boot:spring-boot-starter-test')\
testImplementation('org.springframework.boot:spring-boot-starter-test')
}

test {
Expand Down

0 comments on commit c055131

Please sign in to comment.