Debloat the Velocity project

This commit is contained in:
2026-05-19 17:40:39 -04:00
parent 1b3115f094
commit 73c4449cb3
48 changed files with 336 additions and 3847 deletions
+9 -12
View File
@@ -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")
}
}