class KotlinProjectGenerationConfiguration {

	private final ProjectDescription description;

	private final IndentingWriterFactory indentingWriterFactory;

	public KotlinProjectGenerationConfiguration(ProjectDescription description,
			IndentingWriterFactory indentingWriterFactory) {
		this.description = description;
		this.indentingWriterFactory = indentingWriterFactory;
	}

	@Bean
	public MainSourceCodeProjectContributor<KotlinTypeDeclaration, KotlinCompilationUnit, KotlinSourceCode> mainKotlinSourceCodeProjectContributor(
			ObjectProvider<MainApplicationTypeCustomizer<?>> mainApplicationTypeCustomizers,
			ObjectProvider<MainCompilationUnitCustomizer<?, ?>> mainCompilationUnitCustomizers,
			ObjectProvider<MainSourceCodeCustomizer<?, ?, ?>> mainSourceCodeCustomizers) {
		return new MainSourceCodeProjectContributor<>(this.description, KotlinSourceCode::new,
				new KotlinSourceCodeWriter(this.indentingWriterFactory), mainApplicationTypeCustomizers,
				mainCompilationUnitCustomizers, mainSourceCodeCustomizers);
	}

	@Bean
	public TestSourceCodeProjectContributor<KotlinTypeDeclaration, KotlinCompilationUnit, KotlinSourceCode> testKotlinSourceCodeProjectContributor(
			ObjectProvider<TestApplicationTypeCustomizer<?>> testApplicationTypeCustomizers,
			ObjectProvider<TestSourceCodeCustomizer<?, ?, ?>> testSourceCodeCustomizers) {
		return new TestSourceCodeProjectContributor<>(this.description, KotlinSourceCode::new,
				new KotlinSourceCodeWriter(this.indentingWriterFactory), testApplicationTypeCustomizers,
				testSourceCodeCustomizers);
	}

	@Bean
	@ConditionalOnBuildSystem(GradleBuildSystem.ID)
	public GitIgnoreCustomizer kotlinGradlePluginGitIgnoreCustomizer() {<FILL_FUNCTION_BODY>}

	@Bean
	public KotlinProjectSettings kotlinProjectSettings(ObjectProvider<KotlinVersionResolver> kotlinVersionResolver,
			InitializrMetadata metadata) {
		String kotlinVersion = kotlinVersionResolver
			.getIfAvailable(() -> new InitializrMetadataKotlinVersionResolver(metadata))
			.resolveKotlinVersion(this.description);
		return new SimpleKotlinProjectSettings(kotlinVersion, this.description.getLanguage().jvmVersion());
	}

	@Bean
	public KotlinJacksonBuildCustomizer kotlinJacksonBuildCustomizer(InitializrMetadata metadata) {
		return new KotlinJacksonBuildCustomizer(metadata, this.description);
	}

}

		return (gitIgnore) -> {
			GitIgnore.GitIgnoreSection section = gitIgnore.addSectionIfAbsent("Kotlin");
			section.add(".kotlin");
		};
	
<no_super_class>