Add network socket example for ktor-network and netty
This commit is contained in:
18 files changed
+271
-60
No files matched your search
+12
-8
@@ -4,12 +4,16 @@ plugins {
|
||||
|
||||
rootProject.name = "libmc"
|
||||
|
||||
includeSubModule(":common")
|
||||
includeSubModule(":protocol")
|
||||
includeSubModule(":protocol-context")
|
||||
includeSubModule(":nbt")
|
||||
//includeSubModule(":snbt")
|
||||
includeSubModule("common")
|
||||
includeSubModule("protocol")
|
||||
includeSubModule("protocol-context")
|
||||
includeSubModule("nbt")
|
||||
includeSubModule("snbt")
|
||||
|
||||
fun includeSubModule(name: String, path: String? = null) = include(name).also {
|
||||
project(name).projectDir = file(path ?: "libmc-${name.removePrefix(":")}")
|
||||
}
|
||||
//includeSubModule("protocol-engine-netty", path = "libmc-network-engines/netty")
|
||||
//includeSubModule("protocol-engine-ktor-network", path = "libmc-network-engines/ktor-network")
|
||||
|
||||
fun includeSubModule(name: String, path: String? = null) {
|
||||
include(":$name")
|
||||
project(":$name").projectDir = file(path ?: "libmc-$name")
|
||||
}
|
||||
Reference in New Issue
Block a user