sample-modules/README.md

32 lines
693 B
Markdown
Raw Permalink Normal View History

2020-11-22 19:21:56 +07:00
# Sample Modules
2022-07-09 10:42:05 +07:00
- Spring Boot with Kotlin
2020-11-22 19:21:56 +07:00
- Spring Dependency Management
2022-07-09 10:42:05 +07:00
- Gradle with Kotlin DSL
2020-11-22 19:21:56 +07:00
# Development
2022-07-09 10:42:05 +07:00
2020-11-22 19:21:56 +07:00
- Clone the modules
2022-07-09 10:42:05 +07:00
2020-11-22 19:21:56 +07:00
```shell
git clone https://git.cubetiqs.com/CUBETIQ/sample-modules.git --recurse-submodules --remote-submodules
```
### Add Submodule by using git submodule (Example)
2022-07-09 10:42:05 +07:00
```shell
git submodule add https://git.cubetiqs.com/CUBETIQ/gradle-sample-module-example.git
```
### Register module in ```settings.gradle.kts``` or ```settings.gradle```
2022-07-09 10:42:05 +07:00
```gradle
rootProject.name = "sample-modules"
include("gradle-sample-module-example")
```
### Implementation module in ```build.gradle.kts```
2022-07-09 10:42:05 +07:00
```gradle
implementation(project(":gradle-sample-module-example"))
2020-11-22 19:21:56 +07:00
```