org.hibernate:hibernate-gradle-plugin is the Hibernate byte code enhancer for Gradle: https://docs.jboss.org/hibernate/orm/5.6/topical/html_single/bytecode/BytecodeEnhancement.html

As part of Hibernate, it would be nice if Spring Boot dependency management version managed this dependency like it does for all of the other Hibernate dependencies already.

Comment From: wilkinsona

Thanks for the suggestion, @candrews. Can you explain why you'd like the Gradle plugin to be included in our dependency management? AIUI, it won't allow you to omit the version when configuring a Gradle project to use the plugin.

Comment From: candrews

Can you explain why you'd like the Gradle plugin to be included in our dependency management? AIUI, it won't allow you to omit the version when configuring a Gradle project to use the plugin.

True, but I'm hoping that we (or I) can fix that. I'm hoping that having this version specified in the BOM will be a step towards resolving https://github.com/spring-projects/spring-boot/issues/22109

Comment From: wilkinsona

Until Gradle offers support for managing plugin versions using a bom, I don't think we should add anything to spring-boot-dependencies. I think it would be confusing for a Gradle plugin to be managed as a standard dependency. Instead, they should be managed separately (as Maven plugins currently are via <pluginManagement>) once that separate mechanism is available. Thanks anyway for the suggestion.

Comment From: wilkinsona

I think we could do with with a settings plugin or published versions catalog. I've opened https://github.com/spring-projects/spring-boot/issues/37836.