I am building a Spring-Boot Application (2.1.4.RELEASE) and I am creating a Gradle Wrapper for it using
gradle clean wrapper
My gradle version is 5.4
What is happening is that when I try to push my changes into Gerrit I am getting this error:
remote: error: found carriage return (CR) character in file: gradle/wrapper/gradle-wrapper.jar remote: error: found carriage return (CR) character in file: gradlew.bat
I am using Ubuntu 18.04 (Windows 10 Native Client)
I tried in my Windows machine and the problem is the same, I tried to switch to Gradle 4 and the same problem happens, Gradle 3 can't compile my application anymore so it is not an option.
Ideas?