Doc bug with turning off daemon in a .bat file


(jbaranski) #1

(if not exist "%USERPROFILE%/.gradle" mkdir "%USERPROFILE%/.gradle") && (echo org.gradle.daemon=false >> "%USERPROFILE%/.gradle/")

This will break an existing file if it exists, contains other properties, and there is no new line at the end of the file.

Here is what I did to fix this:

(if not exist "%USERPROFILE%/.gradle" mkdir "%USERPROFILE%/.gradle") && (echo. >> "%USERPROFILE%/.gradle/" && echo org.gradle.daemon=false >> "%USERPROFILE%/.gradle/")

(Stefan Wolf) #2


thanks for pointing that out. Would you be interested in opening a pull request for fixing the documentation?


(jbaranski) #3

Yeah I can do that this weekend, I’ll give you a heads up after it’s submitted.

(jbaranski) #4