You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is not enough to just upgrade the SpringBoot version. SpringBoot 2.6.4 upgraded a number of packages: https://github.com/spring-projects/spring-boot/releases/tag/v2.6.4. Some of the packages like slf4j are explicitly mentioned in libraries.gradle. The problem is, we have to upgrade the dependencies in libraries.gradle manually, otherwise we include the same dependencies multiple times.
So we should always use the spring boot library dependencies where possible.
Wanted
It must be very much easier to apply a new spring boot version - without manually updating any library(if possible)
Solution
Spring Boot dependencies
The spring boot dependency management gradle plugin does already manage all spring boot dependencies automatically. To have same libraries in gradle sub projects, where we have no spring boot dependency plugin available, we use now dependagen: https://www.github.com/de-jcup/dependagen
At the moment (v0.2.0) dependagen
must be checked out from GIT locally
set the spring boot version to use inside template (if necessary)
start the main class as described in README.md
copy the generated spring_boot_dependagen.gradle to $rootFolder/gradle/spring_boot_dependagen.gradle
Situation
As mentioned inside #1080
So we should always use the spring boot library dependencies where possible.
Wanted
It must be very much easier to apply a new spring boot version - without manually updating any library(if possible)
Solution
Spring Boot dependencies
The spring boot dependency management gradle plugin does already manage all spring boot dependencies automatically. To have same libraries in gradle sub projects, where we have no spring boot dependency plugin available, we use now
dependagen
: https://www.github.com/de-jcup/dependagenAt the moment (v0.2.0)
dependagen
README.md
spring_boot_dependagen.gradle
to$rootFolder/gradle/spring_boot_dependagen.gradle
Own additional ibraries
Here we use https://github.com/ben-manes/gradle-versions-plugin to check for newer versions available.
We still decide manually if we want to update or not!
Just call:
The text was updated successfully, but these errors were encountered: