unity-jar-resolver
unity-jar-resolver copied to clipboard
[FR] Force LF line ending for AndroidResolverDependencies.xml in all OS
Feature proposal
- EDM4U Component: Android Resolver
- EDM4U version: 1.2.183
When I clean build my project on my Windows machine, the only text file that has CRLF line endings after the build is AndroidResolverDependencies.xml. This creates git diff noise.
As workaround, I added the following line to my .gitattributes, which would enable CRLF on git checkout on Windows:
ProjectSettings/AndroidResolverDependencies.xml text -eol
It would be nice if the XmlTextWriter could be configured to always use LF instead.
I think this is the relevant line:
https://github.com/googlesamples/unity-jar-resolver/blob/6eee66190fb6d7182518cc3b41e3919e054699b6/source/AndroidResolver/src/PlayServicesResolver.cs#L108
The same change was done before for GvhProjectSettings.xml: https://github.com/googlesamples/unity-jar-resolver/issues/386.