Skip to content

Building

the-real-ltcg edited this page Jul 1, 2026 · 1 revision

Building

Requirements

  • JDK 25 (set JAVA_HOME to it)

Build

./gradlew build

Output: build/libs/not-enough-spectators-<version>.jar — a fully self-contained jar with the ViaVersion stack fat-jarred in.

To pull the latest ViaBackwards snapshot (e.g. to test whether 26.2 down-conversion has landed):

./gradlew build --refresh-dependencies

Notes

  • Uses the non-remapping Fabric Loom (26.x Minecraft is unobfuscated / official Mojang mappings), which is what makes fat-jarring the GPL Via libraries straightforward.
  • Via is pulled from https://repo.viaversion.com and bundled via a custom bundle configuration in build.gradle.
  • Dependencies are pinned to Via snapshots so refreshed rebuilds pick up upstream fixes.

Licensing when redistributing

Release jars bundle GPL-3.0 software (ViaVersion/ViaBackwards/ViaRewind). If you redistribute a built jar, comply with the GPL-3.0 (keep the license, make source available). See NOTICE-Via.md.

Clone this wiki locally