-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
47 lines (38 loc) · 863 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
plugins {
id 'java'
}
group 'SkriptBot'
version ''
apply plugin: 'idea'
sourceCompatibility = 1.8
sourceSets {
main {
java {
srcDir 'src'
}
}
}
task fatJar(type: Jar) {
manifest {
attributes 'Implementation-Title': 'SkriptBot',
'Implementation-Version': 1,
'Main-Class': 'uk.tim740.SkriptBot.SkriptBot'
}
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
with jar
}
repositories {
mavenCentral()
}
dependencies {
compile ('net.dv8tion:JDA:4.1.1_122') {
exclude module: 'opus-java'
}
compile 'com.googlecode.json-simple:json-simple:1.1.1'
compile 'org.slf4j:slf4j-simple:1.7.25'
compile 'org.yaml:snakeyaml:1.17'
implementation 'org.jetbrains:annotations:15.0'
}
repositories {
jcenter()
}