From 04be1590eb9270ed259bfe08bd6273dac38444b0 Mon Sep 17 00:00:00 2001 From: Marcin Chrzanowski Date: Sun, 3 Nov 2019 22:41:54 +0100 Subject: Add gradle sheet --- gradle.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 gradle.md diff --git a/gradle.md b/gradle.md new file mode 100644 index 0000000..5464cba --- /dev/null +++ b/gradle.md @@ -0,0 +1,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/` -- cgit v1.2.3