Improve/add initial project structure for ZomboidForge with build system, runtime, and patching logic.

Added version support for building images.
This commit is contained in:
Overlord committed 2026-09-29 16:51:13 +02:00
1 parent bf9228d2be
commit 015e9bb2c8
32 files changed
+1268 -58

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
// API for custom Java mods. Version-independent: no references to game classes.
plugins {
id("zomboidforge.java-conventions")
}
@@ -0,0 +1,13 @@
package dev.overlord.zomboidforge.api;
import java.util.Objects;
public final class ZomboidForge
{
/** Build version, from the manifest of the jar these classes were loaded from. */
public static final String VERSION = Objects.requireNonNullElse(
ZomboidForge.class.getPackage().getImplementationVersion(), "dev"
);
private ZomboidForge() {}
}