Merge pull request #2 from recloudstream/patch-1

This commit is contained in:
Cloudburst 2022-08-16 16:21:20 +02:00 committed by GitHub
commit 388d4dfd36
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 16 additions and 6 deletions

View File

@ -1,9 +1,19 @@
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.
// This file sets what projects are included. All new projects should get automatically included unless specified in "disabled" variable.
// Plugins are included like this
include(
"ExampleProvider"
)
val disabled = listOf()
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")