Gradle Files Layout: Difference between revisions

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


==<span id='Project_gradle'></span><tt>gradle</tt>==
==<span id='Project_gradle'></span><tt>gradle</tt>==
This directory contains the JAR file and configuration for [[Gradle_Wrapper|Gradle wrapper]]. To tie a specific Gradle version to the project, it is reasonable to check in the gradle directory and its content into the source repository.
This directory contains the JAR file and configuration for [[Gradle_Wrapper|Gradle wrapper]]. <font color=darkgray>To tie a specific Gradle version to the project, it is reasonable to check in the gradle directory and its content into the source repository</font>.

Revision as of 04:17, 12 December 2020

External

Internal

/
├── usr/local/bin
│             └── gradle
│
├── /Users/someuser
│             └── .gradle 
│                     └── gradle.properties
│
└── /projects
         └── someproject 
                 ├── build.gradle
                 ├── settings.gradle
                 ├── gradlew
                 ├── gradlew.bat
                 ├── .gradle
                 │       ├── 6.5
                 │       ├── buildOutputCleanup
                 │       ├── checksums
                 │       └── vcs-1
                 ├── gradle
                 │       └── wrapper
                 │              ├── gradle-wrapper.jar
                 │              └── gradle-wrapper.properties
                 ├── build      
                 │       
                 └── src

User Home Directory Files

Project Files

.gradle

The directory contains various project-scoped caches generated by Gradle.

gradle

This directory contains the JAR file and configuration for Gradle wrapper. To tie a specific Gradle version to the project, it is reasonable to check in the gradle directory and its content into the source repository.