mirror of
https://github.com/Crazy-Crew/CrazyAuctions.git
synced 2024-11-22 11:55:12 +01:00
33 lines
661 B
Plaintext
33 lines
661 B
Plaintext
plugins {
|
|
id("paper-plugin")
|
|
}
|
|
|
|
group = "${rootProject.group}.core"
|
|
version = rootProject.version
|
|
|
|
base {
|
|
archivesName.set("${rootProject.name}-${project.name}")
|
|
}
|
|
|
|
tasks {
|
|
assemble {
|
|
dependsOn(shadowJar)
|
|
doLast {
|
|
delete(fileTree(baseDir = "$buildDir").include("**/*-dev*.jar"))
|
|
}
|
|
}
|
|
|
|
shadowJar {
|
|
archiveBaseName.set("${rootProject.name}-${project.name}")
|
|
archiveClassifier.set("")
|
|
mergeServiceFiles()
|
|
|
|
listOf(
|
|
"org.bstats",
|
|
"org.simpleyaml",
|
|
"org.yaml.snakeyaml"
|
|
).forEach {
|
|
relocate(it, "libs.$it")
|
|
}
|
|
}
|
|
} |