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
@izeyespotted that we have inconsistencies in the Boot docs and the build.gradle file generated by initializr seems inconsistent too.
The Boot documentation recommends adding the dependency-management plugin this way:
plugins {
id 'java'
id 'org.springframework.boot' version '3.1.0'
}
apply plugin: 'io.spring.dependency-management'
Initializr does this:
plugins {
id 'java'
id 'org.springframework.boot' version '3.1.0'
id 'io.spring.dependency-management' version '1.1.0'
}
Also, it was called out in the linked discussion that the former is probably better since the org.springframework.boot plugin can manage the version of io.spring.dependency-management.