Skip to content

Commit 9c0cedd

Browse files
committed
adding gradle file
1 parent 739f3e3 commit 9c0cedd

12 files changed

+41
-0
lines changed

bin/halterman/command/Client.class

927 Bytes
Binary file not shown.

bin/halterman/command/Command.class

137 Bytes
Binary file not shown.
1.08 KB
Binary file not shown.

bin/halterman/command/Light.class

658 Bytes
Binary file not shown.
576 Bytes
Binary file not shown.
572 Bytes
Binary file not shown.
615 Bytes
Binary file not shown.

bin/halterman/command/Switch.class

594 Bytes
Binary file not shown.

build.gradle

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
apply plugin: 'java'
2+
apply plugin: 'eclipse'
3+
4+
sourceCompatibility = 1.5
5+
version = '1.0'
6+
jar {
7+
manifest {
8+
attributes 'Implementation-Title': 'Spring Vending Machine kata', 'Implementation-Version': version
9+
}
10+
}
11+
12+
repositories {
13+
mavenCentral()
14+
}
15+
16+
dependencies {
17+
compile group: 'commons-collections', name: 'commons-collections', version: '3.2'
18+
compile 'org.springframework:spring-core:4.0.4.RELEASE'
19+
compile group: 'org.mockito', name: 'mockito-all', version:'1.9.5'
20+
testCompile group: 'junit', name: 'junit', version: '4.+'
21+
}
22+
23+
test {
24+
systemProperties 'property': 'value'
25+
}
26+
27+
uploadArchives {
28+
repositories {
29+
flatDir {
30+
dirs 'repos'
31+
}
32+
}
33+
}

build/libs/designpatterns-1.0.jar

311 Bytes
Binary file not shown.

build/tmp/jar/MANIFEST.MF

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Manifest-Version: 1.0
2+
Implementation-Title: Spring Vending Machine kata
3+
Implementation-Version: 1.0
4+

test/halterman/command/CommandPatternTest.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
package halterman.command;
22

33
import static org.junit.Assert.*;
4+
import halterman.command.Command;
5+
import halterman.command.Light;
6+
import halterman.command.LightOnCommand;
7+
import halterman.command.Switch;
48

59
import org.mockito.Mock;
610
import org.mockito.Mockito;

0 commit comments

Comments
 (0)