-
-
Notifications
You must be signed in to change notification settings - Fork 74
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
executable file
·41 lines (36 loc) · 1.3 KB
/
build.gradle.kts
File metadata and controls
executable file
·41 lines (36 loc) · 1.3 KB
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
plugins {
id("me.xginko.aef.wrapper")
alias(libs.plugins.shadow)
alias(libs.plugins.runpaper)
}
runPaper.folia.registerTask()
tasks {
runServer {
minecraftVersion(libs.versions.runpaperversion.get())
}
}
dependencies {
compileOnly(libs.folia)
implementation(project(":Shared"))
implementation(libs.caffeineJ17)
}
configure<JavaPluginExtension> {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
tasks.shadowJar {
archiveFileName = "${rootProject.name}-${project.name}-${project.version}.${archiveExtension.get()}"
exclude(
"com/cryptomorin/xseries/XBiome*",
"com/cryptomorin/xseries/NMSExtras*",
"com/cryptomorin/xseries/NoteBlockMusic*",
"com/cryptomorin/xseries/SkullCacheListener*"
)
relocate("io.github.thatsmusic99.configurationmaster", "me.xginko.aef.libs.configmaster")
relocate("org.reflections", "me.xginko.aef.libs.reflections")
relocate("org.apache.commons.math3", "me.xginko.aef.libs.fastmath")
relocate("com.github.benmanes.caffeine", "me.xginko.aef.libs.caffeine")
relocate("de.tr7zw.changeme.nbtapi", "me.xginko.aef.libs.nbtapi")
relocate("org.bstats", "me.xginko.aef.libs.bstats")
relocate("com.cryptomorin.xseries", "me.xginko.aef.libs.xseries")
}