forked from Huanying04/Nekobot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
55 lines (46 loc) · 1.38 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
plugins {
id 'java'
id 'org.jetbrains.kotlin.jvm' version '1.6.0'
id'com.github.johnrengelman.shadow' version '4.0.4'
}
group 'net.nekomura.dcbot'
version '1.3'
repositories {
jcenter()
google()
mavenCentral()
maven {
name 'm2-dv8tion'
url 'https://m2.dv8tion.net/releases'
}
maven {
name 'duncte123-jfrog'
url 'https://duncte123.jfrog.io/artifactory/maven'
}
}
dependencies {
implementation group: 'net.dv8tion', name: 'JDA', version: '5.0.0-alpha.3'
implementation group: 'com.jagrosh', name: 'jda-utilities', version: '3.0.5'
compile group: 'ch.qos.logback', name: 'logback-classic', version: '1.2.3'
implementation 'com.github.huanying04.utils:jixiv:0.1.0.14'
implementation 'com.squareup.okhttp3:okhttp:4.9.3'
compile group: 'org.json', name: 'json', version: '20210307'
compile group: 'org.jsoup', name: 'jsoup', version: '1.13.1'
compile group: 'org.apache.commons', name: 'commons-text', version: '1.9'
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.0'
testCompile group: 'junit', name: 'junit', version: '4.12'
}
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}
jar {
manifest {
attributes 'Main-Class': 'net.nekomura.dcbot.Main'
}
}
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
}