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

+2
View File
@@ -15,6 +15,8 @@ tasks.jar {
archiveBaseName = "zomboidforge-agent"
manifest.attributes("Premain-Class" to "dev.overlord.zomboidforge.agent.ForgeAgent")
// The agent jar is appended to the system class path and includes api, core and compat runtime.
// Mapping the classpath to zip trees loses its task dependencies; the input restores them.
inputs.files(configurations.runtimeClasspath)
from(configurations.runtimeClasspath.map { classpath -> classpath.map { zipTree(it) } })
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
}