class HibernatePluginKotlinDslGradleBuildCustomizer implements BuildCustomizer<GradleBuild> {

	private final Version hibernateVersion;

	HibernatePluginKotlinDslGradleBuildCustomizer(Version hibernateVersion) {
		this.hibernateVersion = hibernateVersion;
	}

	@Override
	public void customize(GradleBuild build) {<FILL_FUNCTION_BODY>}

}

		build.plugins().add("org.hibernate.orm", (plugin) -> plugin.setVersion(this.hibernateVersion.toString()));
		build.snippets().add((writer) -> {
			writer.println("hibernate {");
			writer.indented(() -> {
				writer.println("enhancement {");
				writer.indented(() -> writer.println("enableAssociationManagement.set(true)"));
				writer.println("}");
			});
			writer.println("}");
		});
	
<no_super_class>