2026-09-03 19:32:46 +08:00
|
|
|
plugins {
|
|
|
|
|
id("org.gradle.toolchains.foojay-resolver-convention") version "0.8.0"
|
|
|
|
|
}
|
2026-09-07 03:15:53 +08:00
|
|
|
|
2026-09-04 15:21:22 +08:00
|
|
|
rootProject.name = "libmc"
|
2026-09-04 00:19:17 +08:00
|
|
|
|
2026-09-04 15:51:16 +08:00
|
|
|
includeSubModule(":common")
|
|
|
|
|
includeSubModule(":mcping")
|
|
|
|
|
includeSubModule(":rconlib")
|
2026-09-05 13:22:00 +08:00
|
|
|
includeSubModule(":protocol")
|
2026-09-07 07:40:08 +08:00
|
|
|
includeSubModule(":protocol-encrypt")
|
2026-09-05 16:35:47 +08:00
|
|
|
includeSubModule(":nbt")
|
2026-09-07 10:07:10 +08:00
|
|
|
//includeSubModule(":snbt")
|
2026-09-04 15:51:16 +08:00
|
|
|
|
2026-09-05 16:35:47 +08:00
|
|
|
fun includeSubModule(name: String, path: String? = null) = include(name).also {
|
|
|
|
|
project(name).projectDir = file(path ?: "libmc-${name.removePrefix(":")}")
|
2026-09-04 15:51:16 +08:00
|
|
|
}
|