mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-12-03 19:51:49 +00:00
Batch 5 of the API review: build the built-ins against the Iris API alone
IrisModule is a Gradle Java build of its own. Its compile classpath is com.volmit:iris-api (never iris-host), VolmLib (sibling checkout or the published coordinate, as Iris resolves it), Gson, Lombok and the JDK, all compileOnly, with Iris's compiler options and Lombok config. check compiles every source and builds build/libs/iris-builtins.jar from these classes with IrisApi's ModuleJarCheck; the jar is byte-identical to the one Iris built before. Iris consumes it through the capability art.arcane:iris-builtins. The 111 sources that need Iris itself move to Iris core: the layout model (biomes, regions, dimensions and their types, generators, noise styles, expressions, images and image maps), the pack's objects, blocks and matter objects, mods and compat filters, the structure model with its assembler, locator, fitting and placer (behind StructureHost), and the object placers behind ObjectHost and FloatingHost. Nothing left here reaches Iris core, engine, platform or util. source-patterns.txt and the tasks that ran Iris's build (checkBuiltins, packageBuiltinModulesInIris, builtinSourcesJar) are gone.
This commit is contained in:
1 parent
9b94eecae3
commit
136f57fa73
117 files changed
+228
-24528
No files matched your search
+2
-3
@@ -1,6 +1,5 @@
|
||||
# These sources compile together with Iris core and must generate the same members, so this repeats
|
||||
# ../Iris/lombok.config, which Lombok never reaches from here: it looks upward from each source file.
|
||||
# Keep the two in sync; ../Iris/lombok.config explains each setting.
|
||||
# Iris compiled these sources itself before they had a build of their own, so this repeats ../Iris/lombok.config to keep
|
||||
# the members Lombok generates, and with them the classes Iris ships, unchanged. ../Iris/lombok.config explains each setting.
|
||||
config.stopBubbling = true
|
||||
lombok.equalsAndHashCode.doNotUseGetters = true
|
||||
lombok.toString.doNotUseGetters = true
|
||||
Reference in new issue
Block a user