forked from ucsb-cs56-projects/cs56-games-dealer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
49 lines (37 loc) · 888 Bytes
/
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: 'application'
mainClassName = "edu.ucsb.cs56.projects.games.dealer.Main"
defaultTasks 'clean', 'run'
repositories { mavenCentral() }
run {
standardInput = System.in
}
task runGUI(dependsOn: jar, type: JavaExec){
main = "edu.ucsb.cs56.projects.games.dealer.MainGui"
classpath = sourceSets.main.runtimeClasspath
description = "Runs the GUI version of this project"
}
javadoc {
source = sourceSets.main.allJava
classpath = configurations.compile
}
sourceSets {
main {
java {
srcDir 'src'
}
}
test {
java {
srcDir 'src'
}
}
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.squareup.okhttp:okhttp:2.5.0'
testCompile 'junit:junit:4.12'
compile 'junit:junit:4.12'
}