From 0f953c5fc393f1042335b01e602eadedd897ff29 Mon Sep 17 00:00:00 2001 From: Robert McNees Date: Fri, 9 Aug 2024 08:17:40 -0400 Subject: [PATCH] Update build.gradle dependency to use Boot version Update the build.gradle dependency for io.spring.dependency-management to not specifiy the version. This will cause the version that Spring Boot depends on to be used. This is preferred because when dependabot is used in the project we can configure it to exclude all patch release versions. The dependency-management version does not follow the Boot versions, so having the dependency managed automatically is cleaner for the dependabot config. --- complete/build.gradle | 3 ++- initial/build.gradle | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/complete/build.gradle b/complete/build.gradle index a06e792..96d8297 100644 --- a/complete/build.gradle +++ b/complete/build.gradle @@ -1,9 +1,10 @@ plugins { id 'java' id 'org.springframework.boot' version '3.2.0' - id 'io.spring.dependency-management' version '1.1.4' } +apply plugin: 'io.spring.dependency-management' + group = 'com.example' version = '0.0.1-SNAPSHOT' diff --git a/initial/build.gradle b/initial/build.gradle index a06e792..96d8297 100644 --- a/initial/build.gradle +++ b/initial/build.gradle @@ -1,9 +1,10 @@ plugins { id 'java' id 'org.springframework.boot' version '3.2.0' - id 'io.spring.dependency-management' version '1.1.4' } +apply plugin: 'io.spring.dependency-management' + group = 'com.example' version = '0.0.1-SNAPSHOT'