From 24920c91136cc684d2bc92c49a8ae91ccace2289 Mon Sep 17 00:00:00 2001 From: piexel Date: Thu, 8 Oct 2026 15:38:31 +0200 Subject: [PATCH] Shade IrisApi into core so built plugin and mod jars can load packs --- core/build.gradle | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/core/build.gradle b/core/build.gradle index a2610d8e3..273687b6c 100644 --- a/core/build.gradle +++ b/core/build.gradle @@ -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)