diff --git a/api/build.gradle.kts b/api/build.gradle.kts new file mode 100644 index 000000000..d5ed1bf97 --- /dev/null +++ b/api/build.gradle.kts @@ -0,0 +1,5 @@ +dependencies { + /** spring starter */ + implementation("org.springframework.boot:spring-boot-starter-webflux") + implementation("org.springframework.boot:spring-boot-starter-actuator") +} \ No newline at end of file diff --git a/api/src/main/kotlin/com/few/ApiMain.kt b/api/src/main/kotlin/com/few/ApiMain.kt new file mode 100644 index 000000000..16639fe6e --- /dev/null +++ b/api/src/main/kotlin/com/few/ApiMain.kt @@ -0,0 +1,11 @@ +package com.few + +import org.springframework.boot.autoconfigure.SpringBootApplication +import org.springframework.boot.runApplication + +@SpringBootApplication +class ApiMain + +fun main(args: Array) { + runApplication(*args) +} diff --git a/build.gradle.kts b/build.gradle.kts index 3de94c155..f2fbb86ca 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -79,7 +79,7 @@ subprojects { implementation("org.jetbrains.kotlinx:kotlinx-coroutines-reactor") implementation("io.projectreactor.kotlin:reactor-kotlin-extensions") implementation("com.fasterxml.jackson.module:jackson-module-kotlin") - + /** test **/ testImplementation("org.springframework.boot:spring-boot-starter-test") testImplementation("io.mockk:mockk:${DependencyVersion.MOCKK}") diff --git a/settings.gradle.kts b/settings.gradle.kts index 31f3d2d97..0337df988 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -1 +1,3 @@ rootProject.name = "few" + +include("api")