-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
51 lines (41 loc) · 1.25 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
50
51
apply plugin: 'java'
apply plugin: 'application'
sourceCompatibility = 1.8
version = '1.2'
mainClassName = 'de.steven_tappert.adminbot.startup'
configurations {
libraries
}
sourceSets {
main {
java {
srcDir 'src'
}
}
}
repositories {
mavenCentral()
}
dependencies {
compile group: 'org.igniterealtime.smack', name: 'smack-im', version: '4.2.1'
compile group: 'org.igniterealtime.smack', name: 'smack-extensions', version: '4.2.1'
compile group: 'org.igniterealtime.smack', name: 'smack-java7', version: '4.2.1'
compile group: 'org.igniterealtime.smack', name: 'smack-tcp', version: '4.2.1'
compile group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.8.1'
compile group: 'com.github.theholywaffle', name: 'teamspeak3-api', version: '1.0.14'
configurations.compile.extendsFrom(configurations.libraries)
}
task finalJar(type: Jar) {
manifest {
attributes 'Implementation-Title': 'AdminBot: XMPP to TS3 Bridge',
'Implementation-Version': version
}
into('lib') {
from configurations.libraries
}
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
with jar
}
artifacts {
archives finalJar
}