Skip to content

Commit

Permalink
Add fabric resource loader dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
xCollateral committed Apr 26, 2024
1 parent 3790685 commit 005d35d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,15 @@ dependencies {

// Fabric API. This is technically optional, but you probably want it anyway.
modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}"

// Needed in order to load mod namespace
ext.includeModule = { name ->
var module = fabricApi.module(name, project.fabric_version)
modImplementation(module)
include(module)
}

includeModule("fabric-resource-loader-v0")
}

processResources {
Expand Down

0 comments on commit 005d35d

Please sign in to comment.