forked from andylizi/haproxy-detector
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
44 lines (38 loc) · 1.45 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
plugins {
id("java")
id("idea")
id("io.github.goooler.shadow") version "8.1.7"
}
group = "net.andylizi.haproxydetector"
version = "4.0.0"
val bStatsVersion = "3.0.2"
repositories {
mavenCentral()
maven("https://oss.sonatype.org/content/groups/public/")
maven("https://repo.dmulloy2.net/repository/public")
maven("https://repo.papermc.io/repository/maven-public/")
}
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(21))
}
}
dependencies {
compileOnly("io.netty:netty-codec-haproxy:4.1.108.Final")
implementation("commons-validator:commons-validator:1.8.0")
implementation("org.bstats:bstats-bukkit:$bStatsVersion")
implementation("org.bstats:bstats-bungeecord:$bStatsVersion")
implementation("org.bstats:bstats-velocity:$bStatsVersion")
implementation("org.bstats:bstats-velocity:$bStatsVersion")
compileOnly("io.github.waterfallmc:waterfall-api:1.20-R0.1-SNAPSHOT")
compileOnly("io.papermc.paper:paper-api:1.20.4-R0.1-SNAPSHOT")
compileOnly("com.comphenix.protocol:ProtocolLib:5.1.0")
compileOnly("com.velocitypowered:velocity-api:3.3.0-SNAPSHOT")
annotationProcessor("com.velocitypowered:velocity-api:3.3.0-SNAPSHOT")
testImplementation("org.junit.jupiter:junit-jupiter:5.10.2")
testImplementation("org.junit.platform:junit-platform-launcher:1.10.2")
}
tasks.shadowJar {
archiveClassifier = ""
relocate("org.bstats", "net.andylizi.haproxydetector.bstats")
}