forked from verticle-io/discobit-client-java
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
50 lines (39 loc) · 908 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
50
defaultTasks "shadowJar"
buildscript {
repositories { jcenter() }
dependencies {
classpath 'com.github.jengelman.gradle.plugins:shadow:1.1.1'
}
}
apply plugin: "java"
apply plugin: "eclipse"
apply plugin: 'com.github.johnrengelman.shadow'
repositories {
mavenCentral()
}
configurations {
group = 'com.v3rticle.oss'
version = '0.7.1'
compile{
transitive = true
}
depsConf
published
}
dependencies {
compile ("com.mashape.unirest:unirest-java:1.3.20")
compile ('commons-io:commons-io:2.4')
compile 'com.google.guava:guava:18.0'
testCompile 'junit:junit:4.12-beta-2'
}
jar {
manifest {
attributes(
"Premain-Class": "com.v3rticle.oss.discobit.client.agent.DiscobitAgent",
"Main-Class": "com.v3rticle.oss.discobit.client.agent.DiscobitAgent")
}
}
shadowJar {
relocate 'org.apache', 'deps.org.apache'
relocate 'org.json', 'deps.org.json'
}