I’ve been testing precedence rules for system properties, and they are the exact opposite of what I would expect.
The order seems to be
-
gradle home dir (systemProp.prop=…) 2. user home dir
-
gradle project dir
-
command line (-Dprop=…)
However, I would expect my invocation of gradle to be able to overwrite any of my file configurations with a command line parameter.