mirror of
https://github.com/plexusorg/Plex.git
synced 2026-06-04 05:26:55 +00:00
Debloat the Velocity project
This commit is contained in:
+9
-12
@@ -1,6 +1,5 @@
|
||||
plugins {
|
||||
java
|
||||
`maven-publish`
|
||||
id("org.jetbrains.gradle.plugin.idea-ext")
|
||||
id("net.kyori.blossom")
|
||||
id("com.gradleup.shadow")
|
||||
@@ -19,12 +18,18 @@ tasks.getByName<Jar>("jar") {
|
||||
}
|
||||
|
||||
tasks {
|
||||
build {
|
||||
dependsOn(shadowJar)
|
||||
}
|
||||
|
||||
jar {
|
||||
finalizedBy(rootProject.tasks["copyJars"])
|
||||
enabled = false
|
||||
}
|
||||
|
||||
shadowJar {
|
||||
enabled = false
|
||||
archiveBaseName.set("Plex-Velocity")
|
||||
archiveClassifier.set("")
|
||||
finalizedBy(rootProject.tasks["copyJars"])
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,14 +43,6 @@ sourceSets {
|
||||
}
|
||||
}
|
||||
|
||||
publishing {
|
||||
publications {
|
||||
create<MavenPublication>("maven") {
|
||||
from(components["java"])
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation(project(":api"))
|
||||
compileOnly("org.projectlombok:lombok:1.18.46")
|
||||
@@ -53,4 +50,4 @@ dependencies {
|
||||
compileOnly("org.json:json:20251224")
|
||||
compileOnly("com.velocitypowered:velocity-api:3.5.0-SNAPSHOT")
|
||||
annotationProcessor("com.velocitypowered:velocity-api:3.5.0-SNAPSHOT")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user