54 lines
1.1 KiB
Plaintext
54 lines
1.1 KiB
Plaintext
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
|
|
|
|
pluginManagement {
|
|
includeBuild("build-extensions")
|
|
repositories {
|
|
gradlePluginPortal()
|
|
}
|
|
}
|
|
plugins {
|
|
id("org.gradle.toolchains.foojay-resolver-convention") version "1.0.0"
|
|
}
|
|
|
|
rootProject.name = "wcloud"
|
|
|
|
// top level project
|
|
include("bom")
|
|
|
|
include("wcloud-api")
|
|
include("wcloud-driver")
|
|
include("wcloud-launcher")
|
|
include("wcloud-networking")
|
|
include("wcloud-plugin")
|
|
include("wcloud-utils")
|
|
|
|
// runnable
|
|
initializeSubProjects(
|
|
"wcloud-runnable",
|
|
"wcloud-master",
|
|
"wcloud-daemon"
|
|
)
|
|
|
|
// modules
|
|
initializeSubProjects(
|
|
"wcloud-modules",
|
|
"wmodule-cloudflare",
|
|
"wmodule-discord",
|
|
"wmodule-hub",
|
|
"wmodule-notify",
|
|
"wmodule-npc",
|
|
"wmodule-permissions",
|
|
"wmodule-signs",
|
|
"wmodule-syncplayer",
|
|
"wmodule-syncproxy",
|
|
"wmodule-reboot"
|
|
)
|
|
|
|
fun initializeSubProjects(rootProject: String, vararg names: String) {
|
|
names.forEach {
|
|
include("$rootProject:$it")
|
|
project(":$rootProject:$it").name = it
|
|
project(":$rootProject:$it").projectDir = file(rootProject).resolve(it)
|
|
}
|
|
}
|