-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle.kts
43 lines (36 loc) · 1.02 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
plugins {
kotlin("jvm") version "1.9.21"
id("com.github.johnrengelman.shadow") version "8.1.1"
id("xyz.jpenilla.run-paper") version "2.1.0"
id("io.papermc.paperweight.userdev") version "1.5.5"
}
group = "com.atombuilt.shulkers"
version = "1.20.1"
repositories {
mavenCentral()
maven("https://papermc.io/repo/repository/maven-public/") // Paper repository.
}
dependencies {
paperweight.paperDevBundle("1.20.1-R0.1-SNAPSHOT")
implementation("org.bstats", "bstats-bukkit", "3.0.2")
implementation("com.atombuilt.atomkt", "spigot", "2.0.0")
}
kotlin {
jvmToolchain(17)
}
tasks {
processResources {
expand("version" to project.version)
}
runServer {
minecraftVersion("1.20.1")
}
shadowJar {
// Exclude dependencies included in paper.
dependencyFilter.apply {
exclude(dependency("org.jetbrains:annotations"))
}
// Relocate bstats to avoid conflicts.
relocate("org.bstats", "com.atombuilt.shulkers.bstats")
}
}