Configure REI dependencies for Fabric
19.x-1.21.5For Fabric projects, REI recommends declaring a modCompileOnly dependency on the API and a modRuntimeOnly dependency on the full package. If you need to interact with built-in plugins, also include the default plugin as a compile dependency.
dependencies {
modCompileOnly "me.shedaniel:RoughlyEnoughItems-api-fabric:VERSION"
modRuntimeOnly "me.shedaniel:RoughlyEnoughItems-fabric:VERSION"
}
// Optional: To interact with built-in plugins
dependencies {
modCompileOnly "me.shedaniel:RoughlyEnoughItems-default-plugin-fabric:VERSION"
}