some build system stuff

This commit is contained in:
Ben Kerllenevich
2021-11-29 18:04:05 -05:00
parent 5ec5c2ea3d
commit 3d7df537c1
3 changed files with 34 additions and 15 deletions

View File

@@ -1,3 +1,5 @@
import java.util.Locale
pluginManagement {
repositories {
gradlePluginPortal()
@@ -5,5 +7,9 @@ pluginManagement {
}
}
rootProject.name = "Purpur"
include("Purpur-API", "Purpur-Server")
rootProject.name = "purpur"
for (name in listOf("Purpur-API", "Purpur-Server")) {
val projName = name.toLowerCase(Locale.ENGLISH)
include(projName)
findProject(":$projName")!!.projectDir = file(name)
}