mirror of
https://github.com/GayPizzaSpecifications/dough.git
synced 2025-08-02 21:20:55 +00:00
19 lines
567 B
Plaintext
19 lines
567 B
Plaintext
rootProject.name = "dough"
|
|
|
|
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, ":"))
|
|
}
|