Introduce gradle-plugin and mod-tools modules. Add ZomboidForge Gradle plugin for building, checking, and packaging mods. Include support for local test servers, automated game jar downloads, and mod descriptor generation. Add mod-tools for runtime mod checks and validations.

This commit is contained in:
Overlord committed 2026-10-02 15:36:10 +02:00
1 parent 68cd9fc4f9
commit 063ad8a3e1
27 files changed
+1976 -30

No files matched your search

+33
View File
@@ -0,0 +1,33 @@
# Publishes the mod API, the mod tools, and the Gradle plugin to the Gitea Maven registry
# (https://git.security-command.org/api/packages/overlord/maven) for every release tag.
# Pre-release tags (containing "-") are tested but not published (see ci/publish.sh).
# Requires the repository secrets REGISTRY_USER and REGISTRY_TOKEN (a token with package
# write access), the same as the image release.
name: publish
on:
push:
tags:
- "v*"
workflow_dispatch:
jobs:
maven:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
# publish.sh derives the version from the newest v* tag
fetch-depth: 0
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: "25"
- name: Test and publish
env:
ORG_GRADLE_PROJECT_giteaUsername: ${{ secrets.REGISTRY_USER }}
ORG_GRADLE_PROJECT_giteaPassword: ${{ secrets.REGISTRY_TOKEN }}
PUBLISH: "true"
run: ci/publish.sh