Skip to content

Commit

Permalink
Fix build script
Browse files Browse the repository at this point in the history
  • Loading branch information
Erdragh committed May 19, 2024
1 parent fdd7f7b commit 262b65b
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -59,24 +59,24 @@ runs {
modSource(project.sourceSets.getByName("main"))
}

register("client") {
create("client") {
// Comma-separated list of namespaces to load gametests from. Empty = all namespaces.
systemProperty("forge.enabledGameTestNamespaces", mod_id)
}

register("server") {
create("server") {
systemProperty("forge.enabledGameTestNamespaces", mod_id)
programArgument("--nogui")
}

// 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.
register("gameTestServer") {
create("gameTestServer") {
systemProperty("forge.enabledGameTestNamespaces", mod_id)
}

register("data") {
create("data") {
// example of overriding the workingDirectory set in configureEach above, uncomment if you want to use it
// workingDirectory project.file("run-data")

Expand All @@ -97,7 +97,6 @@ sourceSets {
// a dependency that will be present for runtime testing but that is
// "optional", meaning it will not be pulled by dependents of this mod.
configurations {
register("localRuntime")
runtimeClasspath.extendsFrom(named("localRuntime"))
}

Expand Down

0 comments on commit 262b65b

Please sign in to comment.