cloudstream-extensions-mult.../settings.gradle.kts

51 lines
1.3 KiB
Text
Raw Normal View History

2022-08-09 17:42:39 +00:00
rootProject.name = "CloudstreamPlugins"
// This file sets what projects are included. Every time you add a new project, you must add it
// to the includes below.
// Plugins are included like this
val disabled = listOf<String>(
2022-09-09 21:02:06 +00:00
"EgyBestProvider",
"FaselHDProvider",
"AkwamProvider",
"MyCimaProvider",
"AnimeIndoProvider",
"AnimeSailProvider",
"Anizm",
"DramaidProvider",
"DubokuProvider",
"Gomunimeis",
"GomunimeProvider",
"Hdfilmcehennemi",
"HDrezkaProvider",
"IdlixProvider",
"KuramanimeProvider",
"KuronimeProvider",
"LayarKacaProvider",
"MultiplexProvider",
"NeonimeProvider",
"NontonAnimeIDProvider",
"OploverzProvider",
"OtakudesuProvider",
"PhimmoichillProvider",
"RebahinProvider",
"TocanimeProvider",
"UakinoProvider",
"UseeTv",
"YomoviesProvider"
)
2022-08-11 14:55:58 +00:00
2022-08-17 12:10:51 +00:00
File(rootDir, ".").eachDir { dir ->
if (!disabled.contains(dir.name) && File(dir, "build.gradle.kts").exists()) {
include(dir.name)
}
}
2022-08-11 14:55:58 +00:00
2022-08-17 12:10:51 +00:00
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")