-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
37 lines (33 loc) · 890 Bytes
/
build.gradle.kts
File metadata and controls
37 lines (33 loc) · 890 Bytes
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
plugins {
id("com.gradleup.shadow") version "9.4.0"
id("java")
}
group = "com.viaversion.viabungee"
version = "0.4.0"
dependencies {
compileOnly("com.viaversion:viaversion-common:5.9.0")
compileOnly("com.viaversion:viabackwards-common:5.9.0")
compileOnly("com.viaversion:viarewind-common:4.1.0")
compileOnly("com.viaversion:viaaprilfools-common:4.2.0")
compileOnly("net.md-5:bungeecord-api:1.21-R0.4")
implementation("net.lenni0451:Reflect:1.6.2")
}
tasks {
build {
dependsOn(shadowJar)
}
shadowJar {
archiveFileName.set("ViaBungee-${project.version}.jar")
}
processResources {
val projectVersion = project.version
filesMatching("bungee.yml") {
expand(mapOf("version" to projectVersion))
}
}
}
java {
toolchain {
languageVersion = JavaLanguageVersion.of(17)
}
}