cs3xxx-repo/settings.gradle.kts

20 lines
628 B
Plaintext
Raw Normal View History

2022-08-08 08:00:39 +00:00
rootProject.name = "CloudstreamPlugins"
2022-08-16 14:20:40 +00:00
// This file sets what projects are included. All new projects should get automatically included unless specified in "disabled" variable.
2022-08-08 08:00:39 +00:00
2022-08-16 14:35:27 +00:00
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:
2022-08-16 14:20:40 +00:00
// include("PluginName")