Compare commits

...

4 Commits

Author SHA1 Message Date
Cloudburst 86cfd92785
fix bug 2022-08-16 16:35:27 +02:00
Cloudburst 388d4dfd36
Merge pull request #2 from recloudstream/patch-1 2022-08-16 16:21:20 +02:00
Cloudburst 674522b919
Update settings.gradle.kts 2022-08-16 16:20:40 +02:00
Red f25a405108 A slight convenience
Co-authored-by: Cloudburst <18114966+C10udburst@users.noreply.github.com>
2022-08-16 16:18:12 +02:00
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<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")