Files
Carbon/settings.gradle.kts
T
jmp 93a9194711 Use custom version of Shadow for Record support
This is necessary until jdependency updates, and then shadow pulls that update.
2021-05-12 17:30:15 -07:00

35 lines
939 B
Kotlin

enableFeaturePreview("VERSION_CATALOGS")
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
pluginManagement {
repositories {
gradlePluginPortal()
maven("https://repo.stellardrift.ca/repository/snapshots/") // todo: polyglot-version-catalogs is not released on the gradle plugin portal yet
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-SNAPSHOT"
}
rootProject.name = "CarbonChat"
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)
}