mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-12-02 02:34:24 +00:00
Shade IrisApi into core so built plugin and mod jars can load packs
This commit is contained in:
1 parent
d57f3cd39c
commit
24920c9113
1 file changed
+3
-4
+3
-4
@@ -53,10 +53,9 @@ String volmLibCoordinate = providers.gradleProperty('volmLibCoordinate')
|
|||||||
dependencies {
|
dependencies {
|
||||||
api(project(':spi'))
|
api(project(':spi'))
|
||||||
|
|
||||||
// IrisApi, from the sibling checkout (gradle/irisapi-resolution.settings.gradle). compileOnly on
|
// IrisApi, from the sibling checkout (gradle/irisapi-resolution.settings.gradle). Shaded without
|
||||||
// purpose: how the API reaches a server at runtime is undecided, so it is not shaded into the
|
// relocation: pack modules compile against com.volmit and the pack loader exposes that package.
|
||||||
// plugin or mod jars, and a built jar cannot load packs until that is decided.
|
implementation('com.volmit:IrisApi')
|
||||||
compileOnly('com.volmit:IrisApi')
|
|
||||||
|
|
||||||
// Provided or Classpath
|
// Provided or Classpath
|
||||||
compileOnly(libs.lombok)
|
compileOnly(libs.lombok)
|
||||||
|
|||||||
Reference in new issue
Block a user