mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-04 06:28:53 +00:00
build: Update run-paper to 1.0.2, improve up to date checking for FileCopyTask, use version catalog in build-logic
This commit is contained in:
13 files changed
+92
-62
No files matched your search
+9
-19
@@ -56,23 +56,13 @@ plugins {
|
||||
|
||||
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")
|
||||
}
|
||||
setupSubproject("carbonchat-velocity") {
|
||||
projectDir = file("velocity")
|
||||
}
|
||||
|
||||
inline fun setupSubproject(name: String, block: ProjectDescriptor.() -> Unit) {
|
||||
include(name)
|
||||
project(":$name").apply(block)
|
||||
sequenceOf(
|
||||
"api",
|
||||
"common",
|
||||
"bukkit",
|
||||
"sponge",
|
||||
"velocity"
|
||||
).forEach {
|
||||
include("carbonchat-$it")
|
||||
project(":carbonchat-$it").projectDir = file(it)
|
||||
}
|
||||
Reference in new issue
Block a user