-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[#1] Gradle 초기설정 #2
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,17 @@ | ||
### Gradle ### | ||
.gradle/ | ||
/build/ | ||
|
||
### 로그 ### | ||
*.log | ||
|
||
### MacOS ### | ||
.DS_Store | ||
|
||
### IntelliJ IDEA ### | ||
*.iml | ||
out/ | ||
.idea/ | ||
|
||
### YML ### | ||
*.yml |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
#Mon Dec 02 23:02:18 KST 2024 | ||
gradle.version=7.2 | ||
#Tue Dec 03 00:40:20 KST 2024 | ||
gradle.version=8.2.1 |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,28 @@ | ||
plugins { | ||
id 'java' | ||
id 'java' // Java 플러그인 추가 (Java 프로젝트로 인식) | ||
id 'org.springframework.boot' version '3.3.4' // Spring Boot 플러그인 추가 | ||
id 'io.spring.dependency-management' version '1.1.6' // Spring 의존성 관리 플러그인 | ||
} | ||
|
||
group 'com.example' | ||
version '1.0-SNAPSHOT' | ||
group 'com.whalewatch' | ||
version '0.0.1-SNAPSHOT' | ||
|
||
java { | ||
toolchain { | ||
languageVersion = JavaLanguageVersion.of(17) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
} | ||
} | ||
|
||
repositories { | ||
mavenCentral() | ||
mavenCentral() // Maven Central에서 의존성 다운로드 | ||
} | ||
|
||
dependencies { | ||
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.1' | ||
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.1' | ||
implementation 'org.springframework.boot:spring-boot-starter' // Spring Boot 핵심 라이브러리 | ||
implementation 'org.springframework.boot:spring-boot-starter-web' | ||
testImplementation 'org.springframework.boot:spring-boot-starter-test' // 테스트용 라이브러리 | ||
} | ||
|
||
test { | ||
useJUnitPlatform() | ||
useJUnitPlatform() //JUnit 테스트 플랫폼 사용 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. JUnit 5 |
||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2.1-bin.zip | ||
networkTimeout=10000 | ||
validateDistributionUrl=true | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://docs.spring.io/spring-boot/appendix/dependency-versions/coordinates.html