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

Grails Bom inconsistently applied #382

Open
jdaugherty opened this issue Dec 23, 2024 · 1 comment
Open

Grails Bom inconsistently applied #382

jdaugherty opened this issue Dec 23, 2024 · 1 comment

Comments

@jdaugherty
Copy link
Contributor

The grails bom appears to be inconsistently applied when using a project with buildSrc. To get buildSrc to work, you have to:

  1. add implementation platform("org.grails:grails-bom:$grailsVersion") or implementation"org.grails:grails-bom:$grailsVersion" to buildSrc/build.gradle
  2. add the same to the project's build.gradle

This may only be an issue on projects with buildSrc. We saw this in grails-views & grails-redis. Views fixed this by excluding the bom, but redis fixed it by adding the above. What's worse, is this behavior is inconsistent.

@jamesfredley
Copy link
Contributor

Spring Dependency Management Gradle Plugin vs Gradle Platforms - need to standardize on one or the other

spring-gradle-plugins/dependency-management-plugin#211
vs.
https://docs.gradle.org/current/userguide/platforms.html

grails-bom is being applied twice

spring-boot-dependencies applied more than once - spring-boot plugin may be part of this

grails-gradle-plugin is currently auto applying grails-bom via the Spring Dependency Management Gradle Plugin

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

No branches or pull requests

2 participants