Gradle Configuration: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 45: Line 45:


It may be created automatically on project initialization with [[Gradle_Operations#Start_a_Project|gradle init]].
It may be created automatically on project initialization with [[Gradle_Operations#Start_a_Project|gradle init]].
=Project Properties=
Project properties.

Revision as of 21:30, 23 May 2018

Internal

Overview

Files and Paths

Gradle Home

If Gradle was installed with Homebrew on Mac, then the Gradle home is

/usr/local/Cellar/gradle/<version>/libexec

Gradle User Home

The Gradle user home is the directory indicated by $GRADLE_USER_HOME or $USER/.gradle if the environment variable is not set.

gradle.properties

gradle.properties

Gradle Project Files

.
|
|- build.gradle
|- settings.gradle
|- gradle.properties
|- .gradle
|       |
|       +-...
|- gradlew
+- gradle
      |
      +-wrapper
           |
           +- ...

Project-Level 'gradle' Directory

It may be created automatically on project initialization with gradle init.

Project-Level '.gradle' Directory

It may be created automatically on project initialization with gradle init.