I want to write a gradle build script, which works in different environments (development, live). In each environment I have to load different property sets (target directories, databases, etc.).
Is there a gradle way to read a property file dependent on the environment or a profile?