From b73d11a84a7d525a7d9fc0f2c3cbb2e0a85e71c6 Mon Sep 17 00:00:00 2001 From: Erdragh Date: Mon, 18 Mar 2024 11:34:35 +0100 Subject: [PATCH] Switch from create to register for runs --- build.gradle.kts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 420d5d1..08117f1 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -58,12 +58,12 @@ runs { modSource(project.sourceSets.getByName("main")) } - create("client") { + register("client") { // Comma-separated list of namespaces to load gametests from. Empty = all namespaces. systemProperty("forge.enabledGameTestNamespaces", mod_id) } - create("server") { + register("server") { systemProperty("forge.enabledGameTestNamespaces", mod_id) programArgument("--nogui") } @@ -71,11 +71,11 @@ runs { // This run config launches GameTestServer and runs all registered gametests, then exits. // By default, the server will crash when no gametests are provided. // The gametest system is also enabled by default for other run configs under the /test command. - create("gameTestServer") { + register("gameTestServer") { systemProperty("forge.enabledGameTestNamespaces", mod_id) } - create("data") { + register("data") { // example of overriding the workingDirectory set in configureEach above, uncomment if you want to use it // workingDirectory project.file("run-data")