Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document how to use Gradle's native bom support as an alternative to the dependency management plugin #21570

Closed
asaikali opened this issue May 26, 2020 · 2 comments
Labels
type: documentation A documentation update
Milestone

Comments

@asaikali
Copy link

asaikali commented May 26, 2020

After watching Managing Dependencies for Spring Projects with Gradle by Jenn Strater and Andy Wilkinson talk. I started a new project using the Gradle Java Platfrom Plugin rather than the Spring Boot dependency gradle plugin which worked but required a lot of trial and error. Upgrading from boot 2.2.6 to 2.3.0 caused the breakage #21569.

It's unclear how the boot plugin interacts with the Java Platform Plugin. Documenting how to use the Java Platform Plugin rather than the dependency management plugin is quite useful for many users.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label May 26, 2020
@asaikali asaikali changed the title Document how to use Gradle Java Platform Plugin rather than the spring boot dependency plugin Document how to use Gradle Java Platform Plugin as an alternative to the spring boot dependency plugin May 26, 2020
@philwebb philwebb added type: documentation A documentation update and removed status: waiting-for-triage An issue we've not yet triaged labels May 26, 2020
@philwebb philwebb added this to the 2.3.x milestone May 26, 2020
@philwebb
Copy link
Member

We should also add a smoke test if it's brittle.

@wilkinsona wilkinsona changed the title Document how to use Gradle Java Platform Plugin as an alternative to the spring boot dependency plugin Document how to use Gradle's native bom support as an alternative to the dependency management plugin Jul 30, 2020
@wilkinsona
Copy link
Member

The Java Platform Plugin isn't really an alternative to the Dependency Management Plugin. The former is used when you're creating a project that defines a platform/bom. The latter is used when you're consuming a bom. A more typical replacement for the dependency management plugin is a platform or enforcedPlatform dependency on spring-boot-dependencies. I think that's what we should document.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: documentation A documentation update
Projects
None yet
Development

No branches or pull requests

4 participants