In https://github.com/hibernate/hibernate-orm/blob/main/tooling/hibernate-gradle-plugin/src/main/java/org/hibernate/orm/tooling/gradle/enhance/EnhancementSpec.java, unlike enableLazyInitialization and enableDirtyTracking which have public void setLazyInitialization(boolean enable) and public void setDirtyTracking(boolean enable) setters, enableAssociationManagement and enableExtendedEnhancement lack of public void setAssociationManagement(boolean enable) and setExtendedEnhancement(boolean enable). I guess they just have been forgotten, would be great to add them to provide idiomatic and consistent Gradle DSL to be able to write associationManagement = true and extendedEnhancement = true. |