mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-12-03 03:31:32 +00:00
Batch 5 of the API review: depend on IrisModule as a build of its own
settings.gradle includes ../IrisModule (art.arcane:iris-module); core depends on it with api, so the adapters keep seeing module classes. Core no longer compiles the module's sources: gradle/default-module.gradle, the ownership check and the module root of bukkitPurityRatchet are gone. The 111 module sources that need Iris itself (layout model, objects and blocks, structure model and placer, object placers) move into core unchanged. :core:builtinModulesJar now takes IrisModule's checked iris-builtins.jar (capability art.arcane:iris-builtins), checks it once more against the VolmLib classes the Bukkit jar leaves out, and writes it to build/builtin-modules for the jar and shadowJar. The shadowJar leaves out the module artifact's copies of the jar's classes, read from the jar itself. Tests copy that jar into packs (iris.builtinModulesJar) instead of rebuilding it from builtin-modules.txt; the pack type purity gate scans both class roots. EntityKeyHandler names iris:spawn's entity kind by id instead of SpawnResources.ENTITIES, which ships only in the built-ins jar (verifyBukkitArtifact failed on it since batch 3).
This commit is contained in:
1 parent
64658013fe
commit
b0a8904b31
118 files changed
+24552
-206
No files matched your search
+3
-2
@@ -325,8 +325,9 @@ List<Object> moddedSharedInputs = []
|
||||
'core/src/main',
|
||||
'core/build.gradle',
|
||||
'../IrisModule/src/main',
|
||||
'../IrisModule/source-patterns.txt',
|
||||
'gradle/default-module.gradle',
|
||||
'../IrisModule/build.gradle.kts',
|
||||
'../IrisModule/settings.gradle.kts',
|
||||
'../IrisModule/builtin-modules.txt',
|
||||
'spi/src/main',
|
||||
'spi/build.gradle',
|
||||
'build.gradle',
|
||||
|
||||
Reference in new issue
Block a user