Gradle Configuration: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 25: Line 25:
==Gradle Properties==
==Gradle Properties==


Gradle properties are "org.gradle.*" system properties. They are typically stored in a [[#gradle.properties|gradle.properties]] in the project root directory or in the directory provided as $GRADLE_USER_HOME.
Gradle properties are "org.gradle.*" system properties. They are typically stored in a [[#gradle.properties|gradle.properties]] in the project root directory or in Gradle user home.


==Environment Variables==
==Environment Variables==

Revision as of 21:45, 25 April 2018

Internal

Overview

Configuration Files

gradle.properties

$HOME/.gradle

Build Environment Configuration

https://docs.gradle.org/current/userguide/build_environment.html

Gradle behavior is influenced by configuration provided with one or more of the following configuration mechanisms, listed below in the descending order of their precedence:

Command-Line Flags

System Properties

System properties are stored in a gradle.properties file.

Gradle Properties

Gradle properties are "org.gradle.*" system properties. They are typically stored in a gradle.properties in the project root directory or in Gradle user home.

Environment Variables