-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
50 lines (41 loc) · 1.38 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
37
38
39
40
41
42
43
44
45
46
47
48
49
apply plugin: 'java'
apply plugin: 'eclipse'
// tag::repositories[]
repositories {
mavenCentral()
}
// end::repositories[]
//TODO: Try to be less specific about dependency versions, e.g. testCompile group: 'junit', name: 'junit', version: '4.+'
// tag::dependencies[]
dependencies {
compile "com.googlecode.combinatoricslib:combinatoricslib:2.1"
compile "org.hamcrest:hamcrest-core:1.1"
testCompile 'junit:junit:4.10'
}
// end::dependencies[]
task wrapper(type: Wrapper) {
gradleVersion = '1.4'
}
// Tasks for the various components
// TODO: Add comments to these tasks for gradle tasks
task facilitator(type: JavaExec) {
main = "risk.server.facilitator.Facilitator"
// TODO: Figure out what the next line is for, or delete it
classpath = sourceSets.main.runtimeClasspath
}
task client(type: JavaExec) {
main = "risk.humanEngine.EngineLogic"
// TODO: Figure out what the next line is for, or delete it
classpath = sourceSets.main.runtimeClasspath
}
task glicko(type: JavaExec) {
main = "risk.aiGameCoordinator.GlickoGames"
// TODO: Figure out what the next line is for, or delete it
classpath = sourceSets.main.runtimeClasspath
}
// One-versus-one testing
task headsup(type: JavaExec) {
main = "risk.aiGameCoordinator.AIGameCoordinator"
// TODO: Figure out what the next line is for, or delete it
classpath = sourceSets.main.runtimeClasspath
}