forked from Coloryr/ColorMirai
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
54 lines (46 loc) · 1.36 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
plugins {
id 'java'
id 'com.github.johnrengelman.shadow' version '6.1.0'
id 'org.jetbrains.kotlin.jvm' version '1.7.0'
}
group 'coloryr.colormirai'
version '4.1.0'
repositories {
mavenCentral()
}
compileKotlin {
kotlinOptions {
jvmTarget = "1.8"
freeCompilerArgs += [
"-Xopt-in=kotlin.RequiresOptIn",
]
}
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.13.1'
compile 'org.apache.logging.log4j:log4j-api:2.19.0'
compile 'org.apache.logging.log4j:log4j-core:2.19.0'
compile 'com.alibaba:fastjson:2.0.17'
compile 'org.java-websocket:Java-WebSocket:1.5.3'
compile 'javax.servlet:javax.servlet-api:4.0.1'
compile 'org.jline:jline:3.21.0'
compile 'io.netty:netty-all:4.1.84.Final'
compile 'com.google.code.gson:gson:2.10'
compile 'net.mamoe:mirai-console:2.13.0' // 后端
compile 'net.mamoe:mirai-console-terminal:2.13.0'
compile "net.mamoe:mirai-core:2.13.0-RC2"
compile "net.mamoe:mirai-console-frontend-base:2.13.0"
api 'net.mamoe:mirai-core-api:2.13.0-RC2'
api 'net.mamoe:mirai-core:2.13.0-RC2'
}
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
}
jar {
manifest {
attributes(
"Implementation-Title": "Gradle",
'Main-Class': 'coloryr.colormirai.ColorMiraiMain'
)
}
}