Paper E2E v1.2.0
This release focuses on runner reliability, environment validation improvements, and Gradle plugin enhancements.
Bug Fixes
- Runner stability: Added a server process check before sending the stop command, preventing errors when the process is already gone
- Environment validation:
JAVA_PATHis now validated alongsideSERVER_JARandSERVER_DIRduring startup checks, catching misconfigurations early - Error output capture: Added a
stderrhandler to the server process so error output is now captured and logged instead of silently dropped - Safe shutdown: Removed a redundant
process.exit(1)call and corrected the exit code used in the safety-net shutdown path - Bot version: The Mineflayer bot now reads the Minecraft version from
MC_VERSIONenvironment variable instead of the hardcoded'1.19.4' - GuiItemLocator: Fixed internal calls to deprecated
GuiWrappermethods
Features
- Plugin download support: Gradle plugin E2E tasks (
TestE2ETask) can now download plugins as part of the task setup - MC_VERSION env var:
MC_VERSIONis now passed through as an environment variable inTestE2ETask, enabling version-aware test runs
Refactoring
- Replaced
waitAbitwithpollForAbsencefor error validation in the runner, making error-state detection more reliable and deterministic - Renamed test file extensions for consistency across the project
Chore
- Added a version bump script and aligned project versioning