Skip to content

add support for MAC_CLASSIC (\r only) #1196

@DemonJun

Description

@DemonJun

If you are submitting a bug, please include the following:

  • summary of problem
    • spotless check can not checkout the file with cr(\r) lineSeparator
  • gradle or maven version
    • maven with 3.8
  • spotless version
    • 2.22.4
  • operating system and version
    • macos
  • copy-paste your full Spotless configuration block(s), and a link to a public git repo that reproduces the problem if possible
<plugin>
                <groupId>com.diffplug.spotless</groupId>
                <artifactId>spotless-maven-plugin</artifactId>
                <version>2.22.4</version>
                <configuration>
                    <formats>
                        <format>
                            <includes>
                                <include>*.java</include>
                                <include>*.xml</include>
                            </includes>
                            <trimTrailingWhitespace/>
                            <endWithNewline/>
                            <encoding>UTF-8</encoding>
                            <indent>
                                <spaces>true</spaces>
                                <spacesPerTab>4</spacesPerTab>
                            </indent>
                        </format>
                    </formats>
                    <java>
                        <encoding>UTF-8</encoding>
                        <googleJavaFormat>
                            <version>1.15.0</version>
                            <style>AOSP</style>
                        </googleJavaFormat>
                        <removeUnusedImports/>
                    </java>
                    <encoding>UTF-8</encoding>
                    <lineEndings>UNIX</lineEndings>
                </configuration>
</plugin>

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