spring-boot/spring-boot-project
Andy Wilkinson 936998647e Work around Gradle changing line endings during property expansion
There's a known issue [1] where property expansion changes the input
files line endings to the operating system's default. This causes
problems for us on Windows as the line endings become \r\n which
breaks our formatting checks.

This commit tunes the checkFormatMain task to exclude the generated
source files from checking. In their place, the original templates
are added. This ensures that the inputs are correctly formatted and,
therefore, that the output should be too (other than the line endings
on Windows).

Closes gh-30039

[1] https://github.com/gradle/gradle/issues/1151
2022-03-02 20:26:15 +00:00
..
spring-boot Work around Gradle changing line endings during property expansion 2022-03-02 20:26:15 +00:00
spring-boot-actuator
spring-boot-actuator-autoconfigure Suppress deprecation warnings caused by micrometer backwards compatability 2022-03-01 14:00:27 +01:00
spring-boot-autoconfigure Merge branch '2.6.x' into 2.7.x 2022-03-02 12:21:29 +00:00
spring-boot-cli
spring-boot-dependencies Merge branch '2.6.x' into 2.7.x 2022-03-02 11:22:12 +00:00
spring-boot-devtools
spring-boot-docs
spring-boot-parent
spring-boot-properties-migrator
spring-boot-starters
spring-boot-test
spring-boot-test-autoconfigure
spring-boot-tools Merge branch '2.6.x' into 2.7.x 2022-03-02 15:24:10 +00:00