-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
60 lines (46 loc) · 1.69 KB
/
build.gradle
File metadata and controls
60 lines (46 loc) · 1.69 KB
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
50
51
52
53
54
55
56
57
58
59
60
group "org.thehellnet.shab"
version "0.9.4"
apply plugin: "java"
apply plugin: "idea"
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
mavenCentral()
maven {
url "http://mvnrepo.thehellnet.org/artifactory/utility"
}
maven {
url "http://mvnrepo.thehellnet.org/artifactory/shab"
}
}
task fatJar(type: Jar) {
archiveName = project.name + ".jar"
manifest {
attributes "Implementation-Title": "SHAB Socket Server",
"Implementation-Version": version,
"Main-Class": "org.thehellnet.shab.socketserver.SocketServer"
}
from {
configurations.compile.collect {
it.isDirectory() ? it : zipTree(it)
}
}
with jar
exclude "META-INF/*.SF"
exclude "META-INF/*.DSA"
exclude "META-INF/*.RSA"
}
dependencies {
compile fileTree(dir: "libs", include: "*.jar")
compile group: "org.slf4j", name: "jul-to-slf4j", version: "1.7.21"
compile group: "org.slf4j", name: "jcl-over-slf4j", version: "1.7.21"
compile group: "org.slf4j", name: "slf4j-api", version: "1.7.21"
compile group: "org.slf4j", name: "slf4j-log4j12", version: "1.7.21"
compile group: "org.codehaus.groovy", name: "groovy-all", version: "2.4.6"
compile group: "ch.qos.logback", name: "logback-core", version: "1.1.7"
compile group: "ch.qos.logback", name: "logback-classic", version: "1.1.7"
compile group: "joda-time", name: "joda-time", version: "2.9.4"
compile group: "org.thehellnet.shab", name: "protocol", version: "2.2.0"
compile group: "ch.qos.logback", name: "logback-level-threshold", version: "1.0.0"
testCompile group: "junit", name: "junit", version: "4.12"
}