Skip to content

Apply dependency-management plugin consistently to the docs #1428

Open
@jonatan-ivanov

Description

@jonatan-ivanov

@izeye spotted 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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions