Skip to content

Commit 19c002a

Browse files
committed
chore: 패키지 이름 변경(api -> app)
1 parent 0544848 commit 19c002a

File tree

6 files changed

+15
-6
lines changed

6 files changed

+15
-6
lines changed

.deploy/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM amazoncorretto:17-alpine-jdk
22

3-
ARG TARGET_JAR=/api/build/libs/api.jar
3+
ARG TARGET_JAR=/api/build/libs/app.jar
44

55
COPY ${TARGET_JAR} /app.jar
66

File renamed without changes.
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
package com.asap.api
1+
package com.asap.app
22

33
import org.springframework.boot.SpringApplication
44
import org.springframework.boot.autoconfigure.SpringBootApplication
55

66
@SpringBootApplication
7-
class ApiApplication {
7+
class AppApplication {
88

99
}
1010

1111
fun main(args: Array<String>) {
12-
SpringApplication.run(ApiApplication::class.java, *args)
12+
SpringApplication.run(AppApplication::class.java, *args)
1313
}

build.gradle.kts

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ allprojects {
1717
version = ""
1818

1919
val javaVersion = "17"
20+
val kotestVersion = "5.0.0"
2021

2122
tasks.withType<JavaCompile> {
2223
sourceCompatibility = javaVersion
@@ -30,7 +31,7 @@ allprojects {
3031
}
3132

3233
tasks.withType<BootJar> {
33-
if (project.name == "api") {
34+
if (project.name == "app") {
3435
enabled = true
3536
} else {
3637
enabled = false
@@ -59,6 +60,14 @@ allprojects {
5960
testImplementation("org.springframework.boot:spring-boot-starter-test")
6061
testImplementation("org.jetbrains.kotlin:kotlin-test-junit5")
6162
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
63+
64+
65+
// kotest
66+
testImplementation("io.kotest:kotest-runner-junit5:$kotestVersion")
67+
68+
// jackson
69+
implementation("com.fasterxml.jackson.module:jackson-module-kotlin")
70+
implementation("com.fasterxml.jackson.datatype:jackson-datatype-jsr310")
6271
}
6372

6473
kotlin {

settings.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
rootProject.name = "Lettering-Backend"
22

3-
include(":api")
3+
include(":app")

0 commit comments

Comments
 (0)