refactor (build): move configurations to before dependencies where they're used
@@ -79,6 +79,13 @@ logger.info("PC VERSION: {}", version)
// Jenkins-Artifactory integration catches on to this as part of the Maven-type descriptor
group = "org.terasology.facades"
+configurations {
+ register("modules") {
+ description = "for fetching modules for running a server"
+ isTransitive = false
+ }
+}
+
dependencies {
implementation(project(":engine"))
implementation(group = "org.reflections", name = "reflections", version = "0.9.10")
@@ -93,13 +100,6 @@ dependencies {
runtimeOnly(platform(project(":modules")))
}
-configurations {
- register("modules") {
- description = "for fetching modules for running a server"
- isTransitive = false
- }
-}
-
/****************************************
* Run Targets
*/
