Updated the gradle and spring module

This commit is contained in:
Sambo Chea 2021-02-19 09:15:20 +07:00
parent 90777ec594
commit 017b60a946
4 changed files with 8 additions and 5 deletions

2
.gitignore vendored
View File

@ -35,3 +35,5 @@ out/
### VS Code ### ### VS Code ###
.vscode/ .vscode/
.DS_Store

View File

@ -1 +1,4 @@
# gradle-sample-module-example # gradle-sample-module-example
- Sprin boot included
- Sub-module for gradle and spring

View File

@ -6,7 +6,7 @@ plugins {
} }
dependencies { dependencies {
implementation(project(":cubetiq-utils")) api(project(":cubetiq-utils"))
implementation("org.springframework.boot:spring-boot-starter-web") implementation("org.springframework.boot:spring-boot-starter-web")
implementation("com.fasterxml.jackson.module:jackson-module-kotlin") implementation("com.fasterxml.jackson.module:jackson-module-kotlin")
@ -14,9 +14,7 @@ dependencies {
implementation(kotlin("reflect")) implementation(kotlin("reflect"))
implementation(kotlin("stdlib-jdk8")) implementation(kotlin("stdlib-jdk8"))
testImplementation("org.springframework.boot:spring-boot-starter-test") { testImplementation("org.springframework.boot:spring-boot-starter-test")
exclude(group = "org.junit.vintage", module = "junit-vintage-engine")
}
} }
tasks.withType<Test> { tasks.withType<Test> {

View File

@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.6.1-bin.zip distributionUrl=https\://services.gradle.org/distributions/gradle-6.8.2-bin.zip
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists