forked from MCDiamondFire/HelpBot
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
37 lines (33 loc) · 973 Bytes
/
build.gradle
File metadata and controls
37 lines (33 loc) · 973 Bytes
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
plugins {
id 'java'
id 'application'
id 'com.github.johnrengelman.shadow' version '4.0.4'
}
mainClassName = 'com.diamondfire.helpbot.HelpBot'
group 'com.diamondfire.helpbot'
repositories {
mavenCentral()
jcenter()
maven { url 'https://jitpack.io' }
}
dependencies {
implementation ('net.dv8tion:JDA:4.2.0_207') {
exclude module: 'opus-java'
}
implementation 'ch.qos.logback:logback-classic:1.2.3'
implementation group: 'com.google.code.gson', name: 'gson', version: '2.8.6'
implementation 'com.github.Steveice10:MCProtocolLib:bf0a6be'
implementation group: 'mysql', name: 'mysql-connector-java', version: '5.1.13'
}
jar {
manifest {
attributes(
'Class-Path': configurations.compile.collect { it.getName() }.join(' '),
'Main-Class': mainClassName
)
}
}
compileJava.options.encoding = 'UTF-8'
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}