cloudstream-extensions-arabic/settings.gradle.kts
2022-09-01 02:19:49 +03:00

13 lines
346 B
Text

rootProject.name = "CloudstreamExtensionsArabic"
val disabled = listOf<String>()
File(rootDir, ".").eachDir { dir ->
if (!disabled.contains(dir.name) && File(dir, "build.gradle.kts").exists()) {
include(dir.name)
}
}
fun File.eachDir(block: (File) -> Unit) {
listFiles()?.filter { it.isDirectory }?.forEach { block(it) }
}