@chkpnt submitted a great PR #22 which allows different line endings for different formats. After discussion, we've decided to instead implement support for the .gitattributes eol property.
Provisionally, support will look like this:
spotless {
lineEndings GITATTRIBUTES
}
This should probably have been the default behavior all along, but it's a breaking change compared to the current default, lineEndings PLATFORM_NATIVE. As a result I think I'll make this next release version 2.0 to alert users to check the changelog.
As for timeline, I'm planning on implementing this in late June when Eclipse 4.6 and Gradle 2.14 will be released, the combination of which should fix quite a few issues.
@chkpnt submitted a great PR #22 which allows different line endings for different formats. After discussion, we've decided to instead implement support for the
.gitattributeseolproperty.Provisionally, support will look like this:
spotless { lineEndings GITATTRIBUTES }This should probably have been the default behavior all along, but it's a breaking change compared to the current default,
lineEndings PLATFORM_NATIVE. As a result I think I'll make this next release version2.0to alert users to check the changelog.As for timeline, I'm planning on implementing this in late June when Eclipse 4.6 and Gradle 2.14 will be released, the combination of which should fix quite a few issues.