-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
36 lines (28 loc) · 1.07 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
group 'com.github.kirikakis.chess.shortest.path'
apply plugin:'java'
apply plugin:'base'
apply plugin:'application'
apply plugin: 'groovy'
apply plugin: 'idea'
sourceCompatibility = '1.8'
mainClassName = "com.github.kirikakis.chess.Main"
applicationName = "chess-shortest-path"
run {
/* Need to split the space-delimited value in the exec.args */
if(System.getProperty("exec.args") != null)
args System.getProperty("exec.args").split()
}
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
//CLI interface
compile "com.beust:jcommander:1.72"
testCompile "org.codehaus.groovy:groovy-all:2.4.10"
testCompile "org.spockframework:spock-core:1.1-groovy-2.4"
// optional dependencies for using Spock
testCompile "org.hamcrest:hamcrest-core:1.3" // only necessary if Hamcrest matchers are used
testRuntime "net.bytebuddy:byte-buddy:1.6.5" // allows mocking of classes (in addition to interfaces)
testRuntime "org.objenesis:objenesis:2.5.1" // allows mocking of classes without default constructor (together with CGLIB)
}