Fix building on case sensitive fs

This commit is contained in:
Nassim Jahnke 2023-03-24 16:06:48 +01:00
parent 6a5fff3caa
commit 64f7932ed0
No known key found for this signature in database
GPG Key ID: 6BE3B555EBC5982B
1 changed files with 7 additions and 1 deletions

View File

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