Wrong gradle.properties loading order in documentation


(Guy Brand) #1

Hi

I think the documentation about the ordering of the gradle.properties files in chapter 15.1 is wrong.

http://gradle.org/docs/current/userguide/userguide_single.html#sec:gradle_configuration_properties

Shouldn’t it be this way?

from gradle.properties located in project build dir.
from gradle.properties located in gradle user home.
from system properties, e.g. when -Dsome.property is used in the command line.

Thanks


#2

This has already been fixed in the latest nightly: http://gradle.org/docs/nightly/userguide/build_environment.html

Thanks.