api와 storage에 대해 멀티모듈 구조로 분리
This commit is contained in:
33
storage/build.gradle
Normal file
33
storage/build.gradle
Normal file
@@ -0,0 +1,33 @@
|
||||
plugins {
|
||||
id 'org.jetbrains.kotlin.plugin.spring'
|
||||
id 'org.springframework.boot'
|
||||
id 'org.hibernate.orm'
|
||||
id 'org.jetbrains.kotlin.plugin.jpa'
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
|
||||
runtimeOnly 'com.h2database:h2'
|
||||
runtimeOnly 'org.postgresql:postgresql'
|
||||
}
|
||||
|
||||
hibernate {
|
||||
enhancement {
|
||||
enableAssociationManagement = true
|
||||
}
|
||||
}
|
||||
|
||||
allOpen {
|
||||
annotation 'jakarta.persistence.Entity'
|
||||
annotation 'jakarta.persistence.MappedSuperclass'
|
||||
annotation 'jakarta.persistence.Embeddable'
|
||||
}
|
||||
|
||||
// 라이브러리 모듈이므로 bootJar 비활성화
|
||||
bootJar {
|
||||
enabled = false
|
||||
}
|
||||
|
||||
jar {
|
||||
enabled = true
|
||||
}
|
||||
Reference in New Issue
Block a user