updated readme with guide to use git submodule and gradle implement the external module
This commit is contained in:
parent
4e80e7bd4a
commit
0b768ee073
16
README.md
16
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"))
|
||||
```
|
Loading…
Reference in New Issue
Block a user