m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Chrzanowski <marcin.j.chrzanowski@gmail.com>2019-11-03 22:41:54 +0100
committerMarcin Chrzanowski <marcin.j.chrzanowski@gmail.com>2019-11-03 22:41:54 +0100
commit04be1590eb9270ed259bfe08bd6273dac38444b0 (patch)
tree236bc05961be5a565628c8e427253d6181c92a1c
parent974e652e8597b3623393ad56f67d19fcc1eaee03 (diff)
Add gradle sheet
-rw-r--r--gradle.md22
1 files changed, 22 insertions, 0 deletions
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/`