Documentation error: locations to find properties is out of order


(Adrian Abraham) #1

http://gradle.org/docs/current/userguide/build_environment.html#sec:gradle_configuration_properties says the following:

The configuration is applied in following order (in case an option is configured in multiple locations the last one wins): > * from gradle.properties located in gradle user home. > * from gradle.properties located in project build dir. > * from system properties, e.g. when -Dsome.property is used in the command line.

The build dir should be listed before the user home.

(Chapter 14 gets it right: “The properties file in the user’s home directory has precedence over property files in the project directories.”)


#2

Thanks for the report: this has already been fixed in the main codebase, although the fix didn’t quite make it into Milestone 9.