-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
44 lines (37 loc) · 969 Bytes
/
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
plugins {
id 'java'
id 'idea'
id 'com.github.johnrengelman.shadow' version '7.0.0'
}
group 'cn.apisium.nekocraft'
version '1.0-SNAPSHOT'
repositories {
mavenCentral()
maven {
name = 'papermc'
url = 'https://papermc.io/repo/repository/maven-public/'
}
maven {
name = 'sonatype'
url = 'https://oss.sonatype.org/content/groups/public/'
}
}
dependencies {
compileOnly 'io.papermc.paper:paper-api:1.17.1-R0.1-SNAPSHOT'
compileOnly 'io.netty:netty-all:4.1.65.Final'
compileOnly ('org.spigotmc:plugin-annotations:1.2.3-SNAPSHOT') {
exclude group: 'org.bukkit'
}
implementation ('io.vertx:vertx-web-client:4.1.2') {
exclude group: 'io.netty'
}
annotationProcessor 'org.spigotmc:plugin-annotations:1.2.3-SNAPSHOT'
}
shadowJar {
archiveClassifier.set('')
minimize()
}
build.dependsOn(shadowJar)
tasks.withType(JavaCompile) {
options.encoding = "GBK"
}