File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -184,6 +184,15 @@ minecraft {
184184 }
185185 }
186186
187+ // internal run config to automatically run the client-side gametests with the runGameTestClient task
188+ runGameTestClientInternal {
189+ parent runs. testClient
190+
191+ lazyToken(" minecraft_classpath" , lazyTokens[" minecraft_classpath" ])
192+
193+ property ' advancedperipheralstest.tags' , ' client'
194+ }
195+
187196 gameTestServer {
188197 def oldClasspath = lazyTokens[" minecraft_classpath" ]
189198 lazyToken(" minecraft_classpath" ) {
@@ -669,6 +678,5 @@ publishing {
669678
670679tasks. register(' runGameTestClient' , ClientJavaExec , { task ->
671680 description " Runs client-side gametests with no mods"
672- setRunConfig(minecraft. runs[" testClient" ])
673- tags(" client" )
681+ setRunConfig(minecraft. runs. runGameTestClientInternal)
674682})
You can’t perform that action at this time.
0 commit comments