Shade IrisApi into core so built plugin and mod jars can load packs

This commit is contained in:
piexel committed 2026-10-08 15:38:31 +02:00
1 parent d57f3cd39c
commit 24920c9113
1 file changed
+3 -4
+3 -4
View File
@@ -53,10 +53,9 @@ String volmLibCoordinate = providers.gradleProperty('volmLibCoordinate')
dependencies {
api(project(':spi'))
// IrisApi, from the sibling checkout (gradle/irisapi-resolution.settings.gradle). compileOnly on
// purpose: how the API reaches a server at runtime is undecided, so it is not shaded into the
// plugin or mod jars, and a built jar cannot load packs until that is decided.
compileOnly('com.volmit:IrisApi')
// IrisApi, from the sibling checkout (gradle/irisapi-resolution.settings.gradle). Shaded without
// relocation: pack modules compile against com.volmit and the pack loader exposes that package.
implementation('com.volmit:IrisApi')
// Provided or Classpath
compileOnly(libs.lombok)