mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-01 22:15:08 +00:00
36 lines
812 B
Kotlin
36 lines
812 B
Kotlin
enableFeaturePreview("VERSION_CATALOGS")
|
|
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
|
|
|
|
pluginManagement {
|
|
repositories {
|
|
gradlePluginPortal()
|
|
maven("https://repo.jpenilla.xyz/snapshots/") // todo: for shadow to be compatible with Records
|
|
}
|
|
}
|
|
|
|
plugins {
|
|
id("ca.stellardrift.polyglot-version-catalogs") version "5.0.0"
|
|
}
|
|
|
|
rootProject.name = "CarbonChat"
|
|
|
|
includeBuild("build-logic")
|
|
|
|
setupSubproject("carbonchat-api") {
|
|
projectDir = file("api")
|
|
}
|
|
setupSubproject("carbonchat-common") {
|
|
projectDir = file("common")
|
|
}
|
|
setupSubproject("carbonchat-bukkit") {
|
|
projectDir = file("bukkit")
|
|
}
|
|
setupSubproject("carbonchat-sponge") {
|
|
projectDir = file("sponge")
|
|
}
|
|
|
|
inline fun setupSubproject(name: String, block: ProjectDescriptor.() -> Unit) {
|
|
include(name)
|
|
project(":$name").apply(block)
|
|
}
|