Adding newline to project property say x from command line


(rajesh.eq) #1

How to add newline to project property say x from gradle command line…

Running gradle from command line with project property say gradle -Px=xyz\nabc createFile

The createFile task creates file and appends the value of property x to the file.