Gradle Configuration: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
(16 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
= | =TO DEPLETE TO= | ||
{{Internal|Gradle Properties - Runtime and Project Configuration|Gradle Properties - Runtime and Project Configuration}} | |||
=<span id='Configuration_Files'><span>Files and Paths= | =<span id='Configuration_Files'><span>Files and Paths= | ||
Line 16: | Line 12: | ||
The Gradle user home is the directory indicated by $GRADLE_USER_HOME or $USER/.gradle if the environment variable is not set. | The Gradle user home is the directory indicated by $GRADLE_USER_HOME or $USER/.gradle if the environment variable is not set. | ||
==Gradle Project Files== | ==Gradle Project Files== | ||
Line 31: | Line 21: | ||
|- [[#gradle.properties|gradle.properties]] | |- [[#gradle.properties|gradle.properties]] | ||
|- [[#Project-Level_.27.gradle.27_Directory|.gradle]] | |- [[#Project-Level_.27.gradle.27_Directory|.gradle]] | ||
| | | | | ||
| | | +-... | ||
|- [[Gradle_Concepts#The_Gradle_Wrapper|gradlew]] | |- [[Gradle_Concepts#The_Gradle_Wrapper|gradlew]] | ||
+- [[#Project-Level_.27gradle.27_Directory|gradle]] | +- [[#Project-Level_.27gradle.27_Directory|gradle]] | ||
Line 44: | Line 33: | ||
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]]. | ||
<font color=darkgray>What does it contain? Should I check it into the repository or not?</font> | |||
===Project-Level '.gradle' Directory=== | ===Project-Level '.gradle' Directory=== | ||
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]]. | ||
<font color=darkgray>What does it contain? Should I check it into the repository or not?</font> | |||
= | |||
Latest revision as of 22:04, 13 October 2020
TO DEPLETE TO
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 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?