File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -99,15 +99,15 @@ neoForge {
99
99
100
100
sourceSet = sourceSets.getByName(" gametest" )
101
101
systemProperty(" neoforge.enabledGameTestNamespaces" , " lithium-gametest" )
102
- environment(" LITHIUM_GAMETEST_RESOURCES" , file(" ../../../common/src/gametest/resources/data/lithium-gametest/gametest/structure" ).path)
102
+ environment(" LITHIUM_GAMETEST_RESOURCES" , file(gameDirectory.get().asFile).resolve( " ../../../common/src/gametest/resources/data/lithium-gametest/gametest/structure" ).path)
103
103
}
104
104
create(" gametestServer" ) {
105
105
type = " gameTestServer"
106
106
gameDirectory.set(file(" runs/gametestServer" ))
107
107
108
108
sourceSet = sourceSets.getByName(" gametest" )
109
109
systemProperty(" neoforge.enabledGameTestNamespaces" , " lithium-gametest" )
110
- environment(" LITHIUM_GAMETEST_RESOURCES" , file(" ../../../common/src/gametest/resources/data/lithium-gametest/gametest/structure" ).path)
110
+ environment(" LITHIUM_GAMETEST_RESOURCES" , file(gameDirectory.get().asFile).resolve( " ../../../common/src/gametest/resources/data/lithium-gametest/gametest/structure" ).path)
111
111
}
112
112
}
113
113
You can’t perform that action at this time.
0 commit comments