Files
spigot-base/design/user-stories/us-012-build-and-release-plugin.md
T
dmg 29413d36b3
Release / release (push) Successful in 5m29s
CI / build (push) Successful in 1m28s
fix(settings): use Purpur dialog API
2026-08-24 11:25:01 -04:00

28 lines
1.3 KiB
Markdown

---
type: User Story
title: "US-012: Build and release the plugin"
description: Give maintainers repeatable Purpur builds, automated verification, and versioned Gitea releases.
status: done
---
# US-012: Build and release the plugin
As a **plugin maintainer**, I want automated builds and releases modeled on Trigger Spawn so that tested, correctly versioned artifacts can be distributed consistently.
## Acceptance criteria
- [x] The Gradle project compiles against Purpur API `26.2.build.2618-stable` using a Java 25 toolchain.
- [x] Compiler lint warnings fail the build.
- [x] Automated JUnit 5 tests run as part of the Gradle check lifecycle.
- [x] Pushes and pull requests build and test the plugin in Gitea Actions.
- [x] Pull requests validate conventional commit messages.
- [x] CI stores a development JAR as a workflow artifact.
- [x] Main-branch conventional commits drive semantic versioning.
- [x] A successful release builds a versioned JAR and attaches it to the corresponding Gitea release.
- [x] Build files, Gradle wrapper, workflows, and release behavior follow `../spigot-trigger-spawn/` where applicable while using Spigot Base names and identifiers.
## Related
- [US-011: Configure and persist progression](us-011-configure-and-persist-progression.md)
- [User-story catalog](index.md)