Put IrisApi on the modded adapters' classpath

The fabric, forge and neoforge builds resolved neither core's dependencies on
IrisApi nor the IrisApi types the adapters read (ResourceId, BlockTurn), so
none of them compiled. They apply the IrisApi source resolution like the root
build and compile against iris-api. NativeStructureReferenceRepairTest drops
the placement identity argument that NativeStructureStartPlan lost in batch 6.
This commit is contained in:
piexel committed 2026-10-28 03:29:45 +01:00
1 parent fe730fc8bd
commit 3e8c22422f
25 files changed
+15 -1310

No files matched your search

+2
View File
@@ -133,6 +133,8 @@ dependencies {
testImplementation('junit:junit:4.13.2')
testImplementation('org.mockito:mockito-core:5.23.0')
compileOnly('org.slf4j:slf4j-api:2.0.17')
compileOnly('com.volmit:iris-api')
testImplementation('com.volmit:iris-api')
compileOnly(libs.spigot) {
transitive = false
}
+2
View File
@@ -43,6 +43,8 @@ dependencyResolutionManagement {
// Shared VolmLib source resolution; see gradle/volmlib-resolution.settings.gradle.
apply from: new File(settingsDir, '../../gradle/volmlib-resolution.settings.gradle').canonicalFile
// Core's own dependencies on IrisApi must resolve here too, and the adapter reads IrisApi types (ResourceId, BlockTurn).
apply from: new File(settingsDir, '../../gradle/irisapi-resolution.settings.gradle').canonicalFile
includeBuild('../..') {
dependencySubstitution {