2
1
Fork 1
mirror of https://github.com/yoyzo/arab synced 2024-08-07 09:07:30 +00:00
cloudstream-extensions-arabic/settings.gradle.kts
2022-08-16 23:26:39 +03:00

14 lines
382 B
Text

rootProject.name = "CloudstreamExtensionsArabic"
val disabled = listOf<String>("EgyBestProvider", "FaselHDProvider")
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) }
}