>I started with *core.autocrlf true* Please ensure you are using core.autocrlf true, checkout the repository from scratch, and retry. It does work on my machine. It does work in GitHub Actions / Windows, it does work at AppVeyor.
C:\temp>git config --get core.autocrlf true C:\temp>git config --get core.eol C:\temp>git clone --depth 100 https://github.com/apache/calcite.git calcite-tmp Cloning into 'calcite-tmp'... C:\temp>cd calcite-tmp C:\temp\calcite-tmp>gradlew :core:versionClass :core:spotlessCheck ... > Configure project : Building Apache Calcite 1.22.0-SNAPSHOT ... BUILD SUCCESSFUL 3 actionable tasks: 3 executed Vladimir