api와 storage에 대해 멀티모듈 구조로 분리
This commit is contained in:
19
balance-core-api/build.gradle
Normal file
19
balance-core-api/build.gradle
Normal file
@@ -0,0 +1,19 @@
|
||||
plugins {
|
||||
id 'org.jetbrains.kotlin.plugin.spring'
|
||||
id 'org.jetbrains.kotlin.plugin.jpa'
|
||||
id 'org.springframework.boot'
|
||||
id 'org.graalvm.buildtools.native'
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation project(':storage')
|
||||
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
|
||||
implementation 'org.springframework.boot:spring-boot-starter-webmvc'
|
||||
implementation 'org.springframework.boot:spring-boot-h2console'
|
||||
implementation 'tools.jackson.module:jackson-module-kotlin'
|
||||
developmentOnly 'org.springframework.boot:spring-boot-devtools'
|
||||
testImplementation 'org.springframework.boot:spring-boot-starter-data-jpa-test'
|
||||
testImplementation 'org.springframework.boot:spring-boot-starter-webmvc-test'
|
||||
testImplementation 'org.jetbrains.kotlin:kotlin-test-junit5'
|
||||
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
package com.quantbench.balance
|
||||
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication
|
||||
import org.springframework.boot.runApplication
|
||||
|
||||
@SpringBootApplication(scanBasePackages = ["com.quantbench.balance"])
|
||||
class BalanceApplication
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
runApplication<BalanceApplication>(*args)
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
spring.application.name=balance
|
||||
@@ -0,0 +1,11 @@
|
||||
package com.quantbench.balance
|
||||
|
||||
import org.junit.jupiter.api.Test
|
||||
import org.springframework.boot.test.context.SpringBootTest
|
||||
|
||||
@SpringBootTest
|
||||
class BalanceApplicationTests {
|
||||
@Test
|
||||
fun contextLoads() {
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user