Skip to content
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

Merged
merged 4 commits into from
Dec 11, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .gitignore
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
Binary file modified .gradle/buildOutputCleanup/buildOutputCleanup.lock
Binary file not shown.
4 changes: 2 additions & 2 deletions .gradle/buildOutputCleanup/cache.properties
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
Binary file modified .gradle/checksums/checksums.lock
Binary file not shown.
1 change: 1 addition & 0 deletions .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 16 additions & 7 deletions build.gradle
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 의존성 관리 플러그인

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

}

group 'com.example'
version '1.0-SNAPSHOT'
group 'com.whalewatch'
version '0.0.1-SNAPSHOT'

java {
toolchain {
languageVersion = JavaLanguageVersion.of(17)

Choose a reason for hiding this comment

The 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 테스트 플랫폼 사용

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

JUnit 5

}
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
4 changes: 3 additions & 1 deletion gradle/wrapper/gradle-wrapper.properties
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
Loading