Skip to content

[FR] Force LF line ending for AndroidResolverDependencies.xml in all OS #755

@adabru

Description

@adabru

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:

using (var writer = new XmlTextWriter(new StreamWriter(DEPENDENCY_STATE_FILE)) {

The same change was done before for GvhProjectSettings.xml: #386.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions