m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/gradle.md
blob: 5464cba7d409d2122db357fb8cd9f91ca3a4231d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Gradle - Java builds and dependency management

## Conventions

Given a root project name (in settings.gradle, rootProject.name), creates a
directory structure of

    src/
        main/
            java/
                root/package/name
            resources/
        test/
            java/
                root/package/name
            resources/

E.g. main code for com.example.project will be under `src/main/java/com/example/project`.

## Under the hood

Dependencies are saved to `~/.gradle/caches/modules-2/files-2.1/`