16 lines
443 B
Kotlin
16 lines
443 B
Kotlin
plugins {
|
|
id("org.gradle.toolchains.foojay-resolver-convention") version "0.8.0"
|
|
}
|
|
rootProject.name = "libmc"
|
|
|
|
includeSubModule(":common")
|
|
includeSubModule(":mcping")
|
|
includeSubModule(":rconlib")
|
|
includeSubModule(":protocol")
|
|
includeSubModule(":nbt")
|
|
includeSubModule(":snbt")
|
|
|
|
fun includeSubModule(name: String, path: String? = null) = include(name).also {
|
|
project(name).projectDir = file(path ?: "libmc-${name.removePrefix(":")}")
|
|
}
|