cloudstream-extensions-arabic/settings.gradle.kts

14 lines
363 B
Text
Raw Normal View History

2022-08-16 20:11:46 +00:00
rootProject.name = "CloudstreamExtensionsArabic"
2022-08-21 18:51:24 +00:00
val disabled = listOf<String>("EgyBestProvider")
2022-08-16 20:11:46 +00:00
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) }
}