Gradle Configuration: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
=Internal=
=TO DEPLETE TO=
 
{{Internal|Gradle_Runtime_and_Project_Configuration|Gradle_Runtime_and_Project_Configuration}}
* [[Gradle#Subjects|Gradle]]
 
=Overview=
 
=<span id='Configuration_Files'><span>Files and Paths=
=<span id='Configuration_Files'><span>Files and Paths=



Revision as of 05:15, 5 October 2020

TO DEPLETE TO

Gradle_Runtime_and_Project_Configuration

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.

What does it contain? Should I check it into the repository or not?

Project-Level '.gradle' Directory

It may be created automatically on project initialization with gradle init. What does it contain? Should I check it into the repository or not?