-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathbuild.gradle
45 lines (37 loc) · 1021 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
plugins {
id 'java'
id 'idea'
id 'application'
// Allows running "gradle shadowJar" to create an executable JAR of your project
id 'com.github.johnrengelman.shadow' version '1.2.3'
}
group 'xyz.sidetrip'
version '0.1.4'
sourceCompatibility = 1.8
repositories {
jcenter()
maven {
url "https://jitpack.io"
}
}
dependencies {
compile "com.github.austinv11:Discord4j:2.9.3"
compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.0'
compile 'com.github.lucavinci:http:v0.1.2'
// Discord4J logging
compile "ch.qos.logback:logback-classic:1.1.7"
compile group: 'org.apache.commons', name: 'commons-collections4', version: '4.1'
}
mainClassName = "xyz.sidetrip.banutil.BanUtil"
jar {
manifest {
attributes "Main-Class": "$mainClassName",
"Implementation-Version": version
}
from {
configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
}
}
task stage {
dependsOn jar
}