A slight convenience (#2)

This commit is contained in:
Red 2022-08-16 15:06:41 +01:00 committed by GitHub
parent fd43a71a8c
commit 2e4c6bcd77
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,91 +4,23 @@ rootProject.name = "CloudstreamPlugins"
// to the includes below. // to the includes below.
// Plugins are included like this // Plugins are included like this
include( val disabled = listOf(
"XcineProvider", "SflixProProvider",
"FilmanProvider", "HDTodayProvider",
"VMoveeProvider", "BflixProvider",
"AsiaFlixProvider", "FmoviesToProvider"
"DoramasYTProvider",
// "SflixProProvider",
"PinoyMovies",
"SeriesflixProvider",
"TrailersTwoProvider",
"KisskhProvider",
"VidstreamBundle",
"RebahinProvider",
"AllMoviesForYouProvider",
"UakinoProvider",
"DramaidProvider",
"FaselHDProvider",
"MeloMovieProvider",
"PelisplusProvider",
"YomoviesProvider",
"AkwamProvider",
"IdlixProvider",
"NginxProvider",
"SoaptwoDayProvider",
"PinoyHDXyzProvider",
"PelisflixProvider",
"SflixProvider",
"ElifilmsProvider",
"VidSrcProvider",
"EgyBestProvider",
"VfSerieProvider",
"LayarKacaProvider",
"EntrepeliculasyseriesProvider",
"SuperStream",
"FrenchStreamProvider",
"MyCimaProvider",
"EstrenosDoramasProvider",
// "HDTodayProvider",
"DubokuProvider",
"HDMProvider",
"PhimmoichillProvider",
"OlgplyProvider",
"PeliSmartProvider",
"VfFilmProvider",
"IHaveNoTvProvider",
"CuevanaProvider",
"CinecalidadProvider",
"HDMovie5",
"HDrezkaProvider",
"PelisplusHDProvider",
"MultiplexProvider",
//"BflixProvider",
// "FmoviesToProvider",
"TheFlixToProvider",
// <--- Anime providers --->
"DubbedAnimeProvider",
"TocanimeProvider",
"NontonAnimeIDProvider",
"WcofunProvider",
"TenshiProvider",
"KimCartoonProvider",
"AllAnimeProvider",
"WatchCartoonOnlineProvider",
"AnimeFlickProvider",
"AnimeSailProvider",
"MonoschinosProvider",
"AnimefenixProvider",
"NeonimeProvider",
"KawaiifuProvider",
"OploverzProvider",
"MundoDonghuaProvider",
"NineAnimeProvider",
"AnimePaheProvider",
"AnimeflvIOProvider",
"AniflixProvider",
"GogoanimeProvider",
"AnimeflvnetProvider",
"KuramanimeProvider",
"GomunimeProvider",
"OtakudesuProvider",
"JKAnimeProvider",
"AnimekisaProvider",
"AnimeIndoProvider",
"KuronimeProvider",
"EjaTv",
) )
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")