Skip to content

Commit d8a9491

Browse files
committed
초기 설정을 하고 상품 조회 기능 개발
1 parent c815de3 commit d8a9491

File tree

17 files changed

+545
-0
lines changed

17 files changed

+545
-0
lines changed

20230107/shopping-mall/.gitignore

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
HELP.md
2+
.gradle
3+
build/
4+
!gradle/wrapper/gradle-wrapper.jar
5+
!**/src/main/**/build/
6+
!**/src/test/**/build/
7+
8+
### STS ###
9+
.apt_generated
10+
.classpath
11+
.factorypath
12+
.project
13+
.settings
14+
.springBeans
15+
.sts4-cache
16+
bin/
17+
!**/src/main/**/bin/
18+
!**/src/test/**/bin/
19+
20+
### IntelliJ IDEA ###
21+
.idea
22+
*.iws
23+
*.iml
24+
*.ipr
25+
out/
26+
!**/src/main/**/out/
27+
!**/src/test/**/out/
28+
29+
### NetBeans ###
30+
/nbproject/private/
31+
/nbbuild/
32+
/dist/
33+
/nbdist/
34+
/.nb-gradle/
35+
36+
### VS Code ###
37+
.vscode/
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
2+
3+
plugins {
4+
id("org.springframework.boot") version "2.7.7"
5+
id("io.spring.dependency-management") version "1.0.15.RELEASE"
6+
kotlin("jvm") version "1.6.21"
7+
kotlin("plugin.spring") version "1.6.21"
8+
}
9+
10+
group = "com.gringrape"
11+
version = "0.0.1-SNAPSHOT"
12+
java.sourceCompatibility = JavaVersion.VERSION_17
13+
14+
repositories {
15+
mavenCentral()
16+
}
17+
18+
dependencies {
19+
implementation("org.springframework.boot:spring-boot-starter-validation")
20+
implementation("org.springframework.boot:spring-boot-starter-web")
21+
developmentOnly("org.springframework.boot:spring-boot-devtools")
22+
23+
implementation("com.fasterxml.jackson.module:jackson-module-kotlin")
24+
25+
implementation("org.jetbrains.kotlin:kotlin-reflect")
26+
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
27+
28+
runtimeOnly("com.h2database:h2")
29+
30+
testImplementation("org.springframework.boot:spring-boot-starter-test")
31+
testImplementation("io.kotest:kotest-runner-junit5:5.5.4")
32+
testImplementation("io.kotest:kotest-assertions-core:5.5.4")
33+
testImplementation("io.kotest.extensions:kotest-extensions-spring:1.1.2")
34+
testImplementation("io.mockk:mockk:1.13.3")
35+
testImplementation("com.ninja-squad:springmockk:4.0.0")
36+
}
37+
38+
tasks.withType<KotlinCompile> {
39+
kotlinOptions {
40+
freeCompilerArgs = listOf("-Xjsr305=strict")
41+
jvmTarget = "17"
42+
}
43+
}
44+
45+
tasks.withType<Test> {
46+
useJUnitPlatform()
47+
}
59.3 KB
Binary file not shown.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
distributionBase=GRADLE_USER_HOME
2+
distributionPath=wrapper/dists
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-bin.zip
4+
zipStoreBase=GRADLE_USER_HOME
5+
zipStorePath=wrapper/dists

20230107/shopping-mall/gradlew

Lines changed: 240 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)