sample-modules/README.md

29 lines
743 B
Markdown
Raw Normal View History

2020-11-22 19:21:56 +07:00
# Sample Modules
- Including parent deps
2021-01-14 17:26:26 +07:00
- Spring Boot (2.4.1)
2020-11-22 19:21:56 +07:00
- Spring Dependency Management
- Gradle with Kotlin DSL (6.6.1)
2021-01-14 17:26:26 +07:00
- Kotlin Langauge (1.4.21)
2020-11-22 19:21:56 +07:00
# Development
- 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"))
2021-01-14 17:26:26 +07:00
```