mirror of
https://github.com/GayPizzaSpecifications/dough.git
synced 2025-08-05 14:31:32 +00:00
Pizza Samples
This commit is contained in:
@ -1,6 +1,18 @@
|
||||
rootProject.name = "dough"
|
||||
|
||||
include(
|
||||
"dough-core",
|
||||
"dough-fs"
|
||||
)
|
||||
val topLevelModules = rootProject.projectDir.listFiles { item: File ->
|
||||
item.name.startsWith("dough-") &&
|
||||
item.isDirectory &&
|
||||
item.resolve("build.gradle.kts").exists()
|
||||
}?.toList() ?: emptyList()
|
||||
|
||||
val samples = rootProject.projectDir.resolve("samples").listFiles { item: File ->
|
||||
item.isDirectory &&
|
||||
item.resolve("build.gradle.kts").exists()
|
||||
}?.toList() ?: emptyList()
|
||||
|
||||
(topLevelModules + samples).map { file ->
|
||||
file.relativeTo(rootProject.projectDir)
|
||||
}.forEach { file ->
|
||||
include(file.path.replace(File.separator, ":"))
|
||||
}
|
||||
|
Reference in New Issue
Block a user