forked from yamarobo/SotaServer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
29 lines (24 loc) · 902 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
apply plugin: 'java'
apply plugin: 'eclipse'
repositories {
mavenCentral()
}
dependencies {
compile group: 'org.eclipse.jetty.websocket', name: 'websocket-api', version: 'latest.release'
compile group: 'org.eclipse.jetty.websocket', name: 'websocket-server', version: 'latest.release'
compile group: 'com.google.code.gson', name: 'gson', version: '2.6.1'
compile fileTree(dir: 'lib', include: '*.jar')
}
sourceCompatibility = targetCompatibility = '1.8'
jar {
doFirst {
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
}
exclude 'META-INF/*.RSA', 'META-INF/*.SF','META-INF/*.DSA'
manifest {
attributes 'Implementation-Title': 'Yamaoka Robotics, Inc.'
attributes 'Implementation-Version': 1.0
attributes "Main-Class" : "sample.server.ServerEntryPoint"
}
from configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
}