Skip to content

Commit

Permalink
convert settings.gradle to kotlin
Browse files Browse the repository at this point in the history
  • Loading branch information
soloturn committed Oct 8, 2023
1 parent 983bba1 commit 0a51642
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 16 deletions.
16 changes: 0 additions & 16 deletions settings.gradle

This file was deleted.

14 changes: 14 additions & 0 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
rootProject.name = "Terasology"

includeBuild("build-logic")
include("engine", "engine-tests", "facades", "metas", "libs", "modules")

rootDir.listFiles()?.forEach { file ->
if (file.isDirectory && file.name != ".gradle") {
file.listFiles()?.forEach { subFile ->
if (subFile.name == "subprojects.settings.gradle" || subFile.name == "subprojects.settings.gradle.kts") {
apply(from = subFile)
}
}
}
}s

0 comments on commit 0a51642

Please sign in to comment.