Skip to content

Commit 003e099

Browse files
committed
fix: pull fabric api into test runtime
... pending a better solution
1 parent 4e1abe1 commit 003e099

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

build.gradle.kts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ loom {
109109
}
110110

111111
createRemapConfigurations(testmod)
112+
createRemapConfigurations(sourceSets.test.get())
112113

113114
runs {
114115
getByName("server") {
@@ -201,7 +202,7 @@ dependencies {
201202
modLocalRuntime(modCompileOnly("com.terraformersmc:modmenu:$modmenu")!!)
202203

203204
"testmodImplementation"(sourceSets.main.get().output)
204-
"modTestmodImplementation"("net.fabricmc.fabric-api:fabric-api:$fabric")
205+
"modTestRuntimeOnly"("modTestmodImplementation"("net.fabricmc.fabric-api:fabric-api:$fabric")!!)
205206
}
206207

207208
tasks.withType<ProcessResources> {

0 commit comments

Comments
 (0)