mirror of
https://github.com/FabricMC/fabric.git
synced 2024-11-14 19:25:23 -05:00
add fabric-registry-sync-v0
to all testmods runtime classpath (#2054)
This commit is contained in:
parent
2de5574501
commit
ac596cd27a
1 changed files with 5 additions and 0 deletions
|
@ -226,6 +226,11 @@ subprojects {
|
|||
testmodImplementation project(path: ':fabric-gametest-api-v1', configuration: 'namedElements')
|
||||
testmodImplementation project(path: ':fabric-resource-loader-v0', configuration: 'namedElements')
|
||||
}
|
||||
|
||||
// Make all testmods run with registry-sync-v0 as it is required to register new objects.
|
||||
if (project.name != "fabric-registry-sync-v0") {
|
||||
testmodRuntimeOnly project(path: ':fabric-registry-sync-v0', configuration: 'namedElements')
|
||||
}
|
||||
}
|
||||
|
||||
publishing {
|
||||
|
|
Loading…
Reference in a new issue