feat(Zinnia): init

This commit is contained in:
Cilly Leang 2025-10-08 01:11:59 +11:00
parent fea05eff78
commit 59d18d76c0
Signed by: cilly
GPG key ID: 6500251E087653C9
6 changed files with 409 additions and 11 deletions

View file

@ -1,16 +1,16 @@
rootProject.name = "Awoocord"
val canaryPlugins = arrayOf("ComponentsV2", "SlashCommandsFix")
include(
"Scout",
*canaryPlugins,
val plugins = mapOf(
"ComponentsV2Beta" to "canary/ComponentsV2",
"SlashCommandsFixBeta" to "canary/SlashCommandsFix",
"Scout" to "plugins/Scout",
"RoleBlocks" to "plugins/Zinnia",
)
rootProject.children.forEach {
val isCanary = it.name in canaryPlugins
val dir = if (isCanary) "canary" else "plugins"
val name = it.name
if (isCanary) it.name += "Beta"
it.projectDir = file("${dir}/${name}")
include(*plugins.keys.toTypedArray())
rootProject.children.forEach { project ->
plugins[project.name]?.let {
project.projectDir = file(it)
}
}