Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
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
26 changes: 20 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
.DS_Store
HELP.md
.gradle
/build/
build/
!gradle/wrapper/gradle-wrapper.jar
/out/
/target/
!**/src/main/**
!**/src/test/**

### STS ###
.apt_generated
Expand All @@ -12,10 +12,24 @@
.project
.settings
.springBeans
bin/
.sts4-cache

### IntelliJ IDEA ###
.idea
*.iws
*.iml
*.ipr
*.ipr
out/

### NetBeans ###
/nbproject/private/
/nbbuild/
/dist/
/nbdist/
/.nb-gradle/

### VS Code ###
.vscode/

### Mac OS ###
.DS_Store
14 changes: 10 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# java-calculator
문자열 계산기 미션 저장소
# java-calculator-precourse

## 우아한테크코스 코드리뷰
* [온라인 코드 리뷰 과정](https://github.com/woowacourse/woowacourse-docs/blob/master/maincourse/README.md)
## 기능 목록
- [ ] 빈 문자열 입력 시 0을 반환한다. (예: "")
- [ ] 숫자 하나면 그 값을 반환한다. (예: "7" → 7)
- [ ] 쉼표(,)와 콜론(:)을 기본 구분자로 사용한다. (예: "1,2:3" → 6)
- [ ] 커스텀 구분자를 지원한다. (형식: `//<구분자>\n<숫자들>`, 예: "//;\n1;2;3" → 6)
- [ ] 구분자로 분리한 모든 양의 정수를 합한다.
- [ ] 숫자가 아닌 값이 포함되면 예외(IllegalArgumentException)를 발생시킨다.
- [ ] 음수가 포함되면 예외(IllegalArgumentException)를 발생시킨다. (메시지에 문제 값을 포함)
- [ ] 출력 형식을 지킨다. (정확히 `결과 : X`)
19 changes: 13 additions & 6 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,16 +1,23 @@
apply plugin: 'java'
apply plugin: 'eclipse'
plugins {
id 'java'
}

group = 'camp.nextstep.edu'
version = '1.0-SNAPSHOT'

version = '1.0.0'
sourceCompatibility = 1.8
java {
toolchain {
languageVersion = JavaLanguageVersion.of(21)
}
}

repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}

dependencies {
testCompile('org.junit.jupiter:junit-jupiter:5.6.0')
testCompile('org.assertj:assertj-core:3.15.0')
implementation 'com.github.woowacourse-projects:mission-utils:1.2.0'
}

test {
Expand Down
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
5 changes: 3 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#Sun Mar 03 16:00:16 KST 2019
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.3-all.zip
Loading