23 lines
543 B
Plaintext
23 lines
543 B
Plaintext
plugins {
|
|
alias(libs.plugins.shadow)
|
|
}
|
|
|
|
tasks.withType<Jar> {
|
|
archiveBaseName.set(Files.api.removeSuffix(".jar"))
|
|
archiveVersion.set("")
|
|
if (name == "jar") archiveClassifier.set("plain")
|
|
if (name == "shadowJar") archiveClassifier.set("")
|
|
}
|
|
|
|
dependencies {
|
|
api(libs.bundles.adventure)
|
|
api(libs.bundles.proxyPlatform)
|
|
api(libs.bundles.serverPlatform)
|
|
|
|
implementation(projects.wcloudDriver)
|
|
implementation(projects.wcloudNetworking)
|
|
}
|
|
|
|
tasks.named("shadowJar") {
|
|
dependsOn(":wcloud-driver:shadowJar")
|
|
} |