Replacing a string in xml in Gradle Build



I'm using gradle to build a project. I have an xml file in conf folder which contains an element with value that is environment dependent. I want to be able to replace this value in xml as a part of gradle build. For .properties files, I'm using ant properties to get this done, but not sure how to fix this for xml.


No comments:

Post a Comment