-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
61 lines (49 loc) · 1.58 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
56
57
58
59
60
61
plugins {
id 'java'
id 'idea'
id 'com.github.johnrengelman.shadow' version '8.1.1'
}
group = 'com.mohistmc'
version = project.version
tasks.withType(JavaCompile).configureEach {
options.warnings = false
options.encoding = 'UTF-8'
}
repositories {
mavenLocal()
mavenCentral()
maven { url 'https://maven.mohistmc.com/' }
maven { url 'https://maven.aliyun.com/repository/public/' }
maven { url 'https://jitpack.io/' }
maven { url 'https://repo.maven.apache.org/maven2' }
maven { url 'https://repo.opencollab.dev/maven-snapshots/' }
maven { url 'https://repo.opencollab.dev/maven-releases/' }
}
dependencies {
compileOnly 'org.projectlombok:lombok:1.18.34'
annotationProcessor 'org.projectlombok:lombok:1.18.34'
implementation 'org.javacord:javacord:3.8.0' // Discord 机器人
implementation 'com.github.theholywaffle:teamspeak3-api:1.3.1' // TS3
implementation 'com.mohistmc:yaml:0.7'
implementation 'com.mohistmc:tools:0.5.1'
implementation 'com.mohistmc:json:0.5'
implementation 'com.mysql:mysql-connector-j:9.1.0'
implementation 'org.slf4j:slf4j-api:2.0.12'
implementation 'org.slf4j:slf4j-simple:2.0.12'
implementation 'dnsjava:dnsjava:3.4.3'
implementation 'org.apache.httpcomponents:httpclient:4.5.14'
implementation 'org.apache.httpcomponents:httpcore:4.4.16'
compileOnly 'org.jetbrains:annotations:24.1.0'
}
shadowJar {
dependencies {
}
}
jar {
manifest {
attributes(
'Main-Class': 'com.mohistmc.ai.MohistAI'
)
}
}
jar.dependsOn(shadowJar)