Gradle Files Layout

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

External

Internal

/
├── usr/local/bin
│             └── gradle
│
├── /Users/someuser
│             └── .gradle 
│                     ├── gradle.properties
│                     └── caches
│
└── /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    
                 │    └── libs  
                 │          └── project-version.jar
                 │       
                 └── src
                      ├── main 
                      │     ├── java ← main java source set directory
                      │     ├── bash
                      │     ├── groovy
                      │     ├── helm
                      │     └── resources
                      └── test 
                            ├── java ← test java source set directory
                            ├── bash
                            ├── groovy
                            ├── helm
                            └── resources

User Home Directory Files

.gradle

caches

Gradle Dependencies and Dependency Configurations | The Dependency Cache

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.