Polish "Add support for Docker Compose"

See gh-1417
This commit is contained in:
Stephane Nicoll
2023-05-31 14:39:36 +02:00
parent 8430cccecf
commit 9995d6a2e9
26 changed files with 807 additions and 856 deletions

View File

@@ -87,7 +87,8 @@ public class InitializrAutoConfiguration {
@Bean
@ConditionalOnMissingBean
public IndentingWriterFactory indentingWriterFactory() {
return IndentingWriterFactory.create(new SimpleIndentStrategy("\t"));
return IndentingWriterFactory.create(new SimpleIndentStrategy("\t"),
(builder) -> builder.indentingStrategy("yaml", new SimpleIndentStrategy(" ")));
}
@Bean