Skip to content

Conversation

marko-bekhta
Copy link
Member

https://hibernate.atlassian.net/browse/HHH-14082


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license
and can be relicensed under the terms of the LGPL v2.1 license in the future at the maintainers' discretion.
For more information on licensing, please check here.


Copy link
Member

@mbellade mbellade left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @marko-bekhta, any reason not to apply this?

id "local.publishing-java-module"
id "local.publishing-group-relocation"
id "org.hibernate.build.version-injection"
id "org.hibernate.build.version-injection" apply true
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does apply true do anything here? Isn't that the default?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good point 👍🏻
There's one disabled in the main build file (apply false) and I think initially the version was not injected, so I had the apply true added but looking at this again it seems it's fine to remove it.
updated+rebased, let's merge once the build is 🟢

id "local.publishing-java-module"
id "local.publishing-group-relocation"

id "org.hibernate.build.version-injection" apply true
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does apply true do anything here? Isn't that the default?

@marko-bekhta marko-bekhta force-pushed the build/use-injection-plugin-for-version branch from 38653d6 to 931a0f3 Compare October 3, 2025 19:13
@marko-bekhta marko-bekhta merged commit 0080e17 into hibernate:main Oct 5, 2025
25 checks passed
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

Successfully merging this pull request may close these issues.

2 participants