class KotlinJpaGradleBuildCustomizer implements BuildCustomizer<GradleBuild> {

	private final BuildMetadataResolver buildMetadataResolver;

	private final KotlinProjectSettings settings;

	public KotlinJpaGradleBuildCustomizer(InitializrMetadata metadata, KotlinProjectSettings settings) {
		this.buildMetadataResolver = new BuildMetadataResolver(metadata);
		this.settings = settings;
	}

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

}

		if (this.buildMetadataResolver.hasFacet(build, "jpa")) {
			build.plugins()
				.add("org.jetbrains.kotlin.plugin.jpa", (plugin) -> plugin.setVersion(this.settings.getVersion()));
		}
	
<no_super_class>