Skip to content

Commit 1df2ae7

Browse files
committed
fix: replace modRuntimeOnly with modLocalRuntime which should not be transitive
1 parent 8e29954 commit 1df2ae7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

build.gradle.kts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ dependencies {
189189
modImplementation("net.fabricmc.fabric-api:$it:${fabricApi.moduleVersion(it, fabric)}")
190190
}
191191

192-
modRuntimeOnly("net.fabricmc.fabric-api:fabric-api:$fabric")
192+
modLocalRuntime("net.fabricmc.fabric-api:fabric-api:$fabric")
193193

194194
modCompileOnly("mcp.mobius.waila:wthit-api:fabric-$wthit")
195195
modCompileOnly("me.shedaniel:RoughlyEnoughItems-api-fabric:$rei")
@@ -202,8 +202,8 @@ dependencies {
202202
"testmodImplementation"(sourceSets.main.get().output)
203203
"modTestmodImplementation"("net.fabricmc.fabric-api:fabric-api:$fabric")
204204

205-
modRuntimeOnly("me.shedaniel:RoughlyEnoughItems-fabric:$rei")
206-
modRuntimeOnly("mcp.mobius.waila:wthit:fabric-$wthit")
205+
modLocalRuntime("me.shedaniel:RoughlyEnoughItems-fabric:$rei")
206+
modLocalRuntime("mcp.mobius.waila:wthit:fabric-$wthit")
207207
}
208208

209209
tasks.withType<ProcessResources> {

0 commit comments

Comments
 (0)