Skip to content

Commit

Permalink
chore (build): the dependency on modules is for local dev builds
Browse files Browse the repository at this point in the history
  • Loading branch information
keturn committed Jan 3, 2021
1 parent 1f59ade commit f383cb1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion facades/PC/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 The Terasology Foundation
// Copyright 2021 The Terasology Foundation
// SPDX-License-Identifier: Apache-2.0

// The PC facade is responsible for the primary distribution - a plain Java application runnable on PCs
Expand Down Expand Up @@ -93,6 +93,9 @@ dependencies {
// TODO: Consider whether we can move the CR dependency back here from the engine, where it is referenced from the main menu
implementation(group = "org.terasology.crashreporter", name = "cr-terasology", version = "4.1.0")

// Make sure any local module builds are up-to-date and have their dependencies by declaring
// a runtime dependency on whatever the `:modules` subproject declares.
// This won't add anything if there are no modules checked out.
runtimeOnly(platform(project(":modules")))
}

Expand Down

0 comments on commit f383cb1

Please sign in to comment.