feat(Zinnia): init
This commit is contained in:
parent
fea05eff78
commit
59d18d76c0
6 changed files with 409 additions and 11 deletions
|
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue