Logo
Explore Help
Sign In
Overlord/ZomboidForge
Watch 1
Star 1 Fork 0
Code Issues Pull Requests Actions Packages Releases 6 Activity
Files
68cd9fc4f9c106356c4a1b87539e70e553ade5d8
ZomboidForge/api/build.gradle.kts
T
Overlord df4d58a279 Move GameVersion and its tests to the api module and add prefix matching (42, 42.21, 42.21.0). Add the abstract Mod base class with ModContext, bound through a ScopedValue while the mod is constructed. Add mod discovery, mod.toml parsing (night-config TOML), validation of API and game versions and dependencies, dependency ordering, and per-mod class loaders in core.mods. Add Forge to load mods and call their lifecycle methods from ServerHooks, and ConsoleLogger for log output. Add tests for versions, descriptors, discovery, resolution, and loading.
2026-10-01 22:31:23 +02:00

12 lines
294 B
Kotlin
Raw Blame History

// API for custom Java mods. Version-independent: no references to game classes.
plugins {
id("zomboidforge.java-conventions")
}
dependencies {
testImplementation(platform(libs.junit.bom))
testImplementation(libs.junit.jupiter)
testRuntimeOnly(libs.junit.platform.launcher)
}
Reference in new issue View Git Blame Copy Permalink