Skip to content

Commit 9959b9f

Browse files
committed
Merge branch 'branch-A-Gradle'
2 parents 667afff + 02437cb commit 9959b9f

9 files changed

Lines changed: 337 additions & 1 deletion

File tree

build.gradle

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
plugins {
2+
id 'java'
3+
id 'application'
4+
id 'checkstyle'
5+
id 'com.github.johnrengelman.shadow' version '5.1.0'
6+
}
7+
8+
repositories {
9+
mavenCentral()
10+
}
11+
12+
dependencies {
13+
testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-api', version: '5.5.0'
14+
testRuntimeOnly group: 'org.junit.jupiter', name: 'junit-jupiter-engine', version: '5.5.0'
15+
}
16+
17+
test {
18+
useJUnitPlatform()
19+
20+
testLogging {
21+
events "passed", "skipped", "failed"
22+
23+
showExceptions true
24+
exceptionFormat "full"
25+
showCauses true
26+
showStackTraces true
27+
showStandardStreams = false
28+
}
29+
}
30+
31+
application {
32+
mainClassName = "seedu.duke.Duke"
33+
}
34+
35+
shadowJar {
36+
archiveBaseName = "duke"
37+
archiveClassifier = null
38+
}
39+
40+
checkstyle {
41+
toolVersion = '8.29'
42+
}
43+
44+
run{
45+
standardInput = System.in
46+
}

gradle/wrapper/gradle-wrapper.jar

57.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-6.2-bin.zip
4+
zipStoreBase=GRADLE_USER_HOME
5+
zipStorePath=wrapper/dists

gradlew

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

gradlew.bat

Lines changed: 103 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
import static org.junit.jupiter.api.Assertions.assertEquals;
66

7-
//
87
import java.time.LocalDate;
98

109
import duke.task.Event;

text-ui-test/runtest.sh

100644100755
File mode changed.

0 commit comments

Comments
 (0)