-
Notifications
You must be signed in to change notification settings - Fork 24
/
build.gradle
54 lines (45 loc) · 1.45 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 '7.1.2'
}
build{
dependsOn {
shadowJar
}
}
jar {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
manifest {
attributes(
'Main-Class': 'catx.feitu.coze_discord_bridge.Main'
)
}
}
tasks.withType(JavaExec).configureEach {
systemProperty "log4j.skipJansi", "false"
systemProperty 'file.encoding', 'UTF-8'
}
tasks.withType(JavaCompile).configureEach {
options.encoding = 'UTF-8'
}
group = 'catx.feitu'
version = '1.0.0223'
repositories {
mavenCentral()
}
dependencies {
// https://mavenlibs.com/maven/dependency/com.alibaba/fastjson
implementation 'com.alibaba:fastjson:1.1.77.android_noneautotype'
// https://mavenlibs.com/maven/dependency/org.fusesource.jansi/jansi
implementation 'org.fusesource.jansi:jansi:2.4.1'
// https://mavenlibs.com/maven/dependency/org.apache.logging.log4j/log4j-core
// 我也不知道为什么IDEA提示易受攻击 明明已经升级到了 2.8.2 之后的版本.
implementation 'org.apache.logging.log4j:log4j-core:2.20.0'
// https://mavenlibs.com/maven/dependency/com.esotericsoftware.yamlbeans/yamlbeans
implementation 'com.esotericsoftware.yamlbeans:yamlbeans:1.17'
implementation project(':CozeProxy')
implementation project(':DiscordSelfBot')
// 测试
testImplementation 'junit:junit:4.13.1'
}