[B][O] Use MongoDB
This commit is contained in:
@@ -5,7 +5,7 @@ plugins {
|
||||
id("io.spring.dependency-management") version "1.0.10.RELEASE"
|
||||
kotlin("jvm") version "1.4.21"
|
||||
kotlin("plugin.spring") version "1.4.21"
|
||||
kotlin("plugin.jpa") version "1.4.21"
|
||||
// kotlin("plugin.jpa") version "1.4.21"
|
||||
}
|
||||
|
||||
group = "org.hydev.ios"
|
||||
@@ -17,16 +17,20 @@ repositories {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation("org.springframework.boot:spring-boot-starter-data-jpa")
|
||||
implementation("org.springframework.boot:spring-boot-starter-web")
|
||||
implementation("com.fasterxml.jackson.module:jackson-module-kotlin")
|
||||
implementation("org.jetbrains.kotlin:kotlin-reflect")
|
||||
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
|
||||
runtimeOnly("org.mariadb.jdbc:mariadb-java-client")
|
||||
testImplementation("org.springframework.boot:spring-boot-starter-test")
|
||||
|
||||
// https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-validation
|
||||
implementation("org.springframework.boot", "spring-boot-starter-validation", "2.4.1")
|
||||
|
||||
// MongoDB
|
||||
implementation(group = "org.springframework.data", name = "spring-data-mongodb", version = "3.1.2")
|
||||
implementation(group = "org.springframework.boot", name = "spring-boot-starter-data-mongodb")
|
||||
|
||||
// MariaDB
|
||||
// implementation("org.springframework.boot:spring-boot-starter-data-jpa")
|
||||
// runtimeOnly("org.mariadb.jdbc:mariadb-java-client")
|
||||
}
|
||||
|
||||
tasks.withType<KotlinCompile> {
|
||||
|
||||
Reference in New Issue
Block a user