-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add .gitattributes to work around spotless issue with eol #236
Conversation
Is spotless still causing an issue for you - I thought you were now on Linux? If this has no affects on Linux I'm fine with this. |
This was happening while back. I am not sure I knew that it was spotless that was causing it until I saw the same behavior in another repository. That led me to that ticket saying that for some reason spotless will change all of the newlines and for some reason the only way to configure it seems to be through a |
Unrelated to this specific issue, this file helps keep eols from changing accidentally. For example, it looks like the
|
I'd rather keep the wrapper distribution type as all. See https://mrhaki.blogspot.com/2016/09/gradle-goodness-specify-wrapper-version.html
|
I figured out how to set it in the build file too. I will submit it as a separate PR I guess it's only tangentially related. See #239. |
See diffplug/spotless#39.