-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
35 lines (30 loc) · 886 Bytes
/
build.gradle
File metadata and controls
35 lines (30 loc) · 886 Bytes
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
group 'chat.haver.server'
version '0.1-SNAPSHOT'
apply plugin: 'java'
//javadoc.enabled = false
apply plugin: 'application'
/*apply plugin: 'checkstyle' // TODO: uncomment when Ed finishes dealing with the problems of perfectionism
checkstyle {
toolVersion = '6.14.1'
configFile = rootProject.file('haver_checks.xml')
}*/
mainClassName = 'chat.haver.server.Main'
sourceCompatibility = 1.8
repositories {
maven {
url "http://repo1.maven.org/maven2"
}
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.12'
compile (
'org.java-websocket:Java-WebSocket:1.3.0',
'com.googlecode.json-simple:json-simple:1.1.1',
'org.jetbrains:annotations:15.0'
)
}
task runProduction(type: JavaExec) {
classpath = sourceSets.main.runtimeClasspath
main = 'chat.haver.server.Main'
args 'ws.haver.chat', '8080'
}