Replacing text with Gradle -


problem

received error because gradle can not read "\" or "-". if change values "a","b" works. how can on ride this?

 ant.replaceregexp(match:'\', replace:'-', flags:'g', byline:true) {  fileset(dir: project.'ws.dir', includes: 'warname.txt')  } 

image posted comment below


Comments