forked from hexated/cloudstream-extensions-multilingual
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.gradle.kts
50 lines (44 loc) · 1.28 KB
/
settings.gradle.kts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
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>(
"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"
)
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")