From 0b768ee07387e6d2e40cc35f9c8052a214f55a47 Mon Sep 17 00:00:00 2001 From: Sambo Chea Date: Sun, 22 Nov 2020 19:27:25 +0700 Subject: [PATCH] updated readme with guide to use git submodule and gradle implement the external module --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index 0dbd7de..459e07c 100644 --- a/README.md +++ b/README.md @@ -9,4 +9,20 @@ - Clone the modules ```shell git clone https://git.cubetiqs.com/CUBETIQ/sample-modules.git --recurse-submodules --remote-submodules +``` + +### Add Submodule by using git submodule (Example) +```shell +git submodule add https://git.cubetiqs.com/CUBETIQ/gradle-sample-module-example.git +``` + +### Register module in ```settings.gradle.kts``` or ```settings.gradle``` +```gradle +rootProject.name = "sample-modules" +include("gradle-sample-module-example") +``` + +### Implementation module in ```build.gradle.kts``` +```gradle +implementation(project(":gradle-sample-module-example")) ``` \ No newline at end of file