As part of a deploy task in Gradle, I want to change the value of a property in foo.properties
to point to a production database instead of a development database.
I'd rather not replace the whole file outright, as it's rather large and it means we would have to maintain two separate versions that only differ on a single line.
What is the best way to accomplish this?