-
Notifications
You must be signed in to change notification settings - Fork 31
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
32 lines (26 loc) · 877 Bytes
/
build.gradle.kts
File metadata and controls
32 lines (26 loc) · 877 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
plugins {
id("re.alwyn974.groupez.publish") version "1.0.0"
}
dependencies{
implementation("net.kyori:adventure-api:4.25.0")
}
rootProject.extra.properties["sha"]?.let { sha ->
version = sha
}
tasks {
shadowJar {
relocate("com.tcoded.folialib", "fr.maxlego08.menu.hooks.folialib")
relocate("fr.traqueur.currencies", "fr.maxlego08.menu.hooks.currencies")
relocate("de.tr7zw.changeme.nbtapi", "fr.maxlego08.menu.hooks.nbtapi")
relocate("com.cryptomorin.xseries", "fr.maxlego08.menu.hooks.xseries")
relocate("fr.maxlego08.sarah", "fr.maxlego08.menu.hooks.sarah")
relocate("net.objecthunter.exp4j", "fr.maxlego08.menu.hooks.exp4j")
destinationDirectory.set(rootProject.extra["apiFolder"] as File)
}
build {
dependsOn(shadowJar)
}
}
publishConfig {
githubOwner.set("MaxLego08")
}