I am trying to achieve the following use-case through gradle. I have a properties file which consists of some hundreds of properties. For sample purpose, let us take the values something like this
The use-case i want to achieve here through either gradle/groovy is that, this property file (say test.properties) should be copied to another file (test-output.properties) with the values replaced as follows.
Thanks in advance.