-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Avoid including platform BOM twice in the Gradle plugin #11255
Conversation
...ools-common/src/main/java/io/quarkus/devtools/project/buildfile/AbstractGradleBuildFile.java
Outdated
Show resolved
Hide resolved
...ools-common/src/main/java/io/quarkus/devtools/project/buildfile/AbstractGradleBuildFile.java
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
I would like to have @aloubyansky 's blessing on this one so it will be merged for 1.7.1.Final. |
// Check if BOM is not included already | ||
String resolvedPlatform = String | ||
.format("%s:%s", getProperty(model, "quarkusPlatformGroupId"), | ||
getProperty(model, "quarkusPlatformArtifactId")); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's better but works on the assumption that these properties are used. In general there could be any property or direct coordinates.
IMO, it's ok as a quick fix. |
Fixes #11251
Add test