File tree Expand file tree Collapse file tree 6 files changed +15
-6
lines changed Expand file tree Collapse file tree 6 files changed +15
-6
lines changed Original file line number Diff line number Diff line change 1
1
FROM amazoncorretto:17-alpine-jdk
2
2
3
- ARG TARGET_JAR=/api/build/libs/api .jar
3
+ ARG TARGET_JAR=/api/build/libs/app .jar
4
4
5
5
COPY ${TARGET_JAR} /app.jar
6
6
File renamed without changes.
Original file line number Diff line number Diff line change 1
- package com.asap.api
1
+ package com.asap.app
2
2
3
3
import org.springframework.boot.SpringApplication
4
4
import org.springframework.boot.autoconfigure.SpringBootApplication
5
5
6
6
@SpringBootApplication
7
- class ApiApplication {
7
+ class AppApplication {
8
8
9
9
}
10
10
11
11
fun main (args : Array <String >) {
12
- SpringApplication .run (ApiApplication ::class .java, * args)
12
+ SpringApplication .run (AppApplication ::class .java, * args)
13
13
}
File renamed without changes.
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ allprojects {
17
17
version = " "
18
18
19
19
val javaVersion = " 17"
20
+ val kotestVersion = " 5.0.0"
20
21
21
22
tasks.withType<JavaCompile > {
22
23
sourceCompatibility = javaVersion
@@ -30,7 +31,7 @@ allprojects {
30
31
}
31
32
32
33
tasks.withType<BootJar > {
33
- if (project.name == " api " ) {
34
+ if (project.name == " app " ) {
34
35
enabled = true
35
36
} else {
36
37
enabled = false
@@ -59,6 +60,14 @@ allprojects {
59
60
testImplementation(" org.springframework.boot:spring-boot-starter-test" )
60
61
testImplementation(" org.jetbrains.kotlin:kotlin-test-junit5" )
61
62
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" )
62
71
}
63
72
64
73
kotlin {
Original file line number Diff line number Diff line change 1
1
rootProject.name = " Lettering-Backend"
2
2
3
- include(" :api " )
3
+ include(" :app " )
You can’t perform that action at this time.
0 commit comments