forked from Korusuke/Java-Discord-Bot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
57 lines (43 loc) · 1.23 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
52
53
54
55
56
57
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 'com.oopm'
version '1.0-SNAPSHOT'
sourceCompatibility = 1.8
repositories {
jcenter()
mavenCentral()
maven{
url "https://jitpack.io"
}
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.12'
compile 'net.dv8tion:JDA:3.8.1_438'
compile 'io.github.ccincharge:newsapi:1.0'
compile 'joda-time:joda-time:2.10.1'
compile group: 'info.movito', name: 'themoviedbapi', version:'1.8'
compile "javax.xml.bind:jaxb-api:2.3.0"
compile "javax.activation:activation:1.1"
compile "com.sun.xml.bind:jaxb-impl:2.3.0"
compile "com.sun.xml.bind:jaxb-core:2.3.0"
compile "com.sun.xml.ws:rt:2.3.0"
compile "com.sun.xml.ws:jaxws-rt:2.3.0"
compile "net.dean.jraw:JRAW:1.1.0"
compile 'com.google.firebase:firebase-admin:6.5.0'
compile 'com.github.lucavinci:http:v0.1.2'
}
mainClassName = "Main"
jar {
manifest {
attributes "Main-Class": "$mainClassName",
"Implementation-Version": version
}
}
task stage {
dependsOn shadowJar
}