I want to pass a .properties file to gradle (on the command line: -Pproperties=my.properties) and have a gradle task read it and make those properties available to all tasks (and other config / closure sections),
Is this possible? I have been able to provide individual properties on the command line but I want to send it a file, have gradle read it and use properties across multiple tasks.