forked from Core2002/ElbertSkill
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
54 lines (43 loc) · 1.4 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 '2.0.4'
}
group 'fun.fifu'
version '1.0-SNAPSHOT'
repositories {
mavenLocal()
//国内镜像源
maven { url 'https://maven.aliyun.com/nexus/content/repositories/jcenter' }
maven { url 'https://mirrors.huaweicloud.com/repository/maven' }
//Minecraft
maven { url 'https://crystal.lss233.com.aslf.top/repositories/minecraft' }
maven { url 'https://lss233.com/artifactory/minecraft' }
maven { url 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/' }
google()
mavenCentral()
}
dependencies {
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.1'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.1'
implementation 'com.alkaidmc.alkaid:alkaid-bukkit:1.0.0-SNAPSHOT'
implementation 'com.google.code.gson:gson:2.9.0'
compileOnly 'org.spigotmc:spigot-api:1.18.2-R0.1-SNAPSHOT'
compileOnly 'org.projectlombok:lombok:1.18.24'
annotationProcessor 'org.projectlombok:lombok:1.18.24'
testCompileOnly 'org.projectlombok:lombok:1.18.24'
testAnnotationProcessor 'org.projectlombok:lombok:1.18.24'
}
test {
useJUnitPlatform()
}
shadowJar {
manifest {
attributes(
'Main-Class': 'fun.fifu.elbertskill.Main',
"Multi-Release": true
)
}
}
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
}