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:
Jason Penilla committed 2021-06-06 17:17:13 -07:00
1 parent f28d59b5a0
commit d4bcf809c8
13 files changed
+92 -62

No files matched your search

+9 -19
View File
@@ -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)
}