Closed sunnyineverywhere closed 4 months ago
spring: data: mongodb: uri: # url 입력
import org.springframework.boot.gradle.tasks.bundling.BootJar val jar: Jar by tasks val bootJar: BootJar by tasks bootJar.enabled = false jar.enabled = true allOpen { annotation("jakarta.persistence.Entity") annotation("jakarta.persistence.MappedSuperclass") annotation("jakarta.persistence.Embeddable") } dependencies { implementation("org.springframework.boot:spring-boot-starter-data-mongodb") implementation("org.springframework.boot:spring-boot-starter-data-mongodb-reactive") }
application-mongo.yaml
storage/core-mongo/build.gradle.kts