-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
57 lines (41 loc) · 1.66 KB
/
build.gradle.kts
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
import io.github.zap.build.gradle.convention.*
// Uncomment to use local maven version - help local testing faster
plugins {
// id("io.github.zap.build.gradle.convention.shadow-mc-plugin") version "0.0.0-SNAPSHOT"
id("io.github.zap.build.gradle.convention.shadow-mc-plugin") version "1.0.0"
}
description = "arena-api"
repositories {
maven("https://repo.rapture.pw/repository/maven-snapshots")
maven("https://repo.dmulloy2.net/repository/public/")
maven("https://jitpack.io")
maven(zgpr("zap-commons"))
maven(zgpr("zap-party"))
}
dependencies {
shade(project(":nms:nms-common")) {
isTransitive = false
}
shade(project(":nms:nms-1_16_R3"))
shade("io.github.zap:zap-commons:1.0.0")
// shade("io.github.zap:zap-commons:0.0.0-SNAPSHOT")
paperApi("1.16.5-R0.1-SNAPSHOT")
implementation("net.kyori:adventure-text-minimessage:4.1.0-SNAPSHOT") {
exclude("net.kyori", "adventure-api")
}
implementation("com.github.Steanky:RegularCommands:master-SNAPSHOT")
relocate("com.fasterxml.jackson.core:jackson-core:2.12.3")
relocate("com.fasterxml.jackson.core:jackson-databind:2.12.3")
relocate("com.fasterxml.jackson.core:jackson-annotations:2.12.3")
relocate("org.apache.commons:commons-lang3:3.12.0")
bukkitPlugin("io.github.zap:zap-party:1.0.0")
// bukkitPlugin("io.github.zap:zap-party:0.0.0-SNAPSHOT")
bukkitPlugin("com.comphenix.protocol:ProtocolLib:4.7.0")
compileOnly("org.projectlombok:lombok:1.18.20")
annotationProcessor("org.projectlombok:lombok:1.18.20")
}
tasks.relocate {
dependsOn(":nms:nms-common:build")
dependsOn(":nms:nms-1_16_R3:build")
}
publishToZGpr()