Gradle exception (new); exit code 1 (Step: Build (Gradle)) (new); artifacts size 0 B is 1 B less than the provided threshold 1 B (new)
Fix #2744 for 1.21.5 Bukkit adapter. (#2771)
I have no idea how this made it into here when it only affected Fabric/Neoforge and was fixed in those. (7d1946f5 by wizjany)
Configure PublishingExtension for WorldEdit Sponge (#2761)
Currently, sponge api aren't be published to the maven repository (only the `pom`s are): https://maven.enginehub.org/repo/com/sk89q/worldedit/worldedit-sponge/7.4.0-SNAPSHOT/
Looks like the `worldedit-sponge` is just not configuring publishing:
- Sponge (No `configure<PublishingExtension> `) - https://github.com/EngineHub/WorldEdit/blob/version/7.3.x/worldedit-sponge/build.gradle.kts
- Bukkit (configures it) - https://github.com/EngineHub/WorldEdit/blob/version/7.3.x/worldedit-bukkit/build.gradle.kts#L110
- Fabric (configures it) - https://github.com/EngineHub/WorldEdit/blob/version/7.3.x/worldedit-fabric/build.gradle.kts#L71
Presumably since `worldedit-sponge` is missing:
```kt
configure<PublishingExtension> {
publications.named<MavenPublication>("maven") {
from(components["java"])
}
}
```
It doesn't get the information from the `java-library` plugin to actually include the jar, so it just includes the pom.
Unfortunately I obviously don't have permission to publish the enginehub repository, but perhaps someone could take a look to see if this fix would work? (dece49b5 by tyhdefu)