anchor.diff:  
   The final configuration taken into account by Gradle is a combination of all Gradle properties set on the command line and your `gradle.properties` files. If an option is configured in multiple locations, the _first one_ found in any of these locations wins:
   
  -* command line, as set using the `-P` / `--project-prop` <<command_line_interface.adoc#sec:environment_options, environment options>>.
   * `gradle.properties` in `GRADLE_USER_HOME` directory.
   * `gradle.properties` in the project's directory, then its parent project's directory up to the build's root directory.
   * `gradle.properties` in Gradle installation directory.
  
positive.code: include::sample[dir="snippets/tutorial/projectProperties/groovy",files="build.gradle[tags=execution]"]
  include::sample[dir="snippets/tutorial/projectProperties/kotlin",files="build.gradle.kts[tags=execution]"]
  ====
  
  Gradle properties and properties set via the `-P` command line option are also available in project properties.
  
  [NOTE]
  ====
  
negative.code: ====
  include::sample[dir="snippets/tutorial/gradleProperties/groovy",files="build.gradle[tags=gradle-properties-task-inputs]"]
  include::sample[dir="snippets/tutorial/gradleProperties/kotlin",files="build.gradle.kts[tags=gradle-properties-task-inputs]"]
  ====
  
  Note that <<init_scripts.adoc#init_scripts, initialization scripts>> can't read Gradle properties directly.
  