mirror of
https://github.com/daarkdemon/cs-darkdemon-extensions.git
synced 2024-08-14 23:57:20 +00:00
20 lines
628 B
Text
20 lines
628 B
Text
|
rootProject.name = "CloudstreamPlugins"
|
||
|
|
||
|
// This file sets what projects are included. All new projects should get automatically included unless specified in "disabled" variable.
|
||
|
|
||
|
val disabled = listOf<String>()
|
||
|
|
||
|
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")
|