๐ ๋ฐฑ์๋ ๊ฐ๋ฐ/SPRING
Spring #2 ๋ผ์ด๋ธ๋ฌ๋ฆฌ ์ดํด๋ณด๊ธฐ!
Yeom.log
2024. 7. 13. 11:05
๋ฐ์ํ
build.gradle ํ์ผ์์ ์ค์ํ ๋ถ๋ถ์ dependencies ์ด๋ค.
์์ ๋ด์ฉ๋ค์ ์ดํด๋ณด๋ฉด implementation, testImplementation, testRuntimeOnly ๋ผ๋๊ฒ์ด ๋ค์ด ์๋๋ฐ
implementation์ ์์ธํ ์ดํด๋ณด๋ฉด
Spring Initializr๋ก ํตํด์ ํ๋ก์ ํธ๋ฅผ ๋ง๋ค๋ dependencies๋ฅผ ์ถ๊ฐ๋ฅผ ํ๋๋ฐ
์ถ๊ฐํ ๊ฒ๋ค์ด ์๋๊ฒ์ ํ์ธ ํ ์ ์๋ค.
ํ๋ก์ ํธ๋ฅผ ๋ง๋ ํด๋ ์์๋ External Libraries๋ผ๋ ๊ฒ์ด ์๋๋ฐ ์ฌ๊ธฐ ์์๋
์ถ๊ฐํ dependencies๋ง ์๋ ๊ฒ์ด ์๋๋ผ Spring Web์ ๋ง๋๋๋ฐ ํ์ํ Libraries๊ฐ ์๋ค!!
Libraries์์ ์ค์ํ ๋ถ๋ถ์
- spring-boot-starter-web
- spring-boot-starter-boot : ํฐ์ผ
- spring-webmvc : ์คํ๋ง ์น mvc
- spring-boot-starter-thymeleaf : ํ์๋ฆฌํ ํ ํ๋ฆฟ ์์ง
- spring-boot-starter
- spring-boot
- spring-core
- spring-boot-starter-logging
- logback,slf4j
- spring-boot
test libraries
- junit
- mockito
- assertj
- spring-test
์ ๋ธ๋ก๊ทธ ๋ด์ฉ์ ๊น์ํ๋์ ์คํ๋ง์ ๋ฌธ ๊ฐ์ ๋ด์ฉ์ ๋ฐํ์ผ๋ก ์ ์ ๊ธ!
๋ฐ์ํ