I am new in Gradle build script. Say, I have two properties files in my file system. I would like to read all fields in the two properties files & write to a new properties file. How to achieve this in gradle?
For example, file1.properties contains:
name = John age = 30
gender = male
I would like my build script read all the fields in two files & write to a new file in a different location. That’s new file contains:
name = John age = 30 gender = male
How to do it in gradle?