cs-darkdemon-extensions/settings.gradle.kts

22 lines
670 B
Text
Raw Permalink Normal View History

2022-09-13 16:12:19 +00:00
rootProject.name = "CloudstreamPlugins"
// This file sets what projects are included. All new projects should get automatically included unless specified in "disabled" variable.
2023-01-15 16:01:59 +00:00
val disabled = listOf<String>(
"NPJioTVProvider", "GDJioTVProvider"
)
2022-09-13 16:12:19 +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) }
}
// To only include a single project, comment out the previous lines (except the first one), and include your plugin like so:
// include("PluginName")