mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2025-07-02 16:05:29 +00:00
fix win build (#272)
This commit is contained in:
parent
48d9b44344
commit
614431af2f
@ -7,7 +7,7 @@ include("common:loader:addon")
|
||||
fun includeImmediateChildren(dir: File, type: String) {
|
||||
dir.walkTopDown().maxDepth(1).forEach {
|
||||
if (!it.isDirectory || !File(it, "build.gradle.kts").exists()) return@forEach
|
||||
val addonDir = it.relativeTo(file(".")).path.replace("/", ":")
|
||||
val addonDir = it.relativeTo(file(".")).path.replace("/", ":").replace("\\", ":")
|
||||
println("Including $type directory \"$addonDir\" as subproject.")
|
||||
include(addonDir)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user