refactor(network): rework network module, use new bytecodec module and introduce proper packet events

This commit is contained in:
Fiereu committed 2026-05-30 10:13:12 +02:00
1 parent 8048827121
commit d27a54f360
340 files changed
+7462 -62719

No files matched your search

+9 -4
View File
@@ -5,9 +5,10 @@ kotlinx-coroutines = "1.10.2"
kotlin-logging = "7.0.7" # sl4j wrapper for Kotlin
logback = "1.5.13"
slf4j = "2.0.17"
asm = "9.8"
bytebuddy = "1.17.5"
jte = "3.2.1"
spotless = "7.2.1"
shadow = "9.0.2"
sonarlint = "7.1.1"
bouncycastle = "1.81"
junit5 = "6.0.0-M2"
kotest = "6.1.11"
@@ -24,6 +25,7 @@ ineter = "0.3.1"
[libraries]
kotlinGradlePlugin = { module = "org.jetbrains.kotlin:kotlin-gradle-plugin", version.ref = "kotlin" }
spotlessGradlePlugin = { module = "com.diffplug.spotless:spotless-plugin-gradle", version.ref = "spotless" }
sonarlintGradlePlugin = { module = "name.remal.sonarlint:name.remal.sonarlint.gradle.plugin", version.ref = "sonarlint" }
kotlin-reflect = { module = "org.jetbrains.kotlin:kotlin-reflect", version.ref = "kotlin" }
kotlinx-serialization-core = { module = "org.jetbrains.kotlinx:kotlinx-serialization-core-jvm", version.ref = "kotlinx-serialization" }
kotlinx-serialization-json = { module = "org.jetbrains.kotlinx:kotlinx-serialization-json-jvm", version.ref = "kotlinx-serialization" }
@@ -32,7 +34,10 @@ kotlinx-coroutines-test = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-t
kotlin-logging = { module = "io.github.oshai:kotlin-logging-jvm", version.ref = "kotlin-logging" }
logback = { module = "ch.qos.logback:logback-classic", version.ref = "logback" }
slf4j = { module = "org.slf4j:slf4j-api", version.ref = "slf4j" }
asm = { module = "org.ow2.asm:asm", version.ref = "asm" }
bytebuddy = { module = "net.bytebuddy:byte-buddy", version.ref = "bytebuddy" }
bytebuddy-agent = { module = "net.bytebuddy:byte-buddy-agent", version.ref = "bytebuddy" }
jte = { module = "gg.jte:jte", version.ref = "jte" }
jte-kotlin = { module = "gg.jte:jte-kotlin", version.ref = "jte" }
bouncycastle-pkix = { module = "org.bouncycastle:bcpkix-jdk18on", version.ref = "bouncycastle" }
bouncycastle-provider = { module = "org.bouncycastle:bcprov-jdk18on", version.ref = "bouncycastle" }
junit5 = { module = "org.junit.jupiter:junit-jupiter-api", version.ref = "junit5" }
@@ -55,12 +60,12 @@ ineter = { module = "com.github.maltalex:ineter", version.ref = "ineter" }
[bundles]
crypto = ["bouncycastle-pkix", "bouncycastle-provider"]
bytebuddy = ["bytebuddy", "bytebuddy-agent"]
jooq = ["jooq", "jooq-kotlin", "jooq-meta", "jooq-codegen"]
kotest = ["kotest-core", "kotest-assertions", "kotest-framework"]
[plugins]
kotlin-serialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "kotlin" }
shadow = { id = "com.gradleup.shadow", version.ref = "shadow" }
jooq = { id = "org.jooq.jooq-codegen-gradle", version.ref = "jooq" }
flyway = { id = "org.flywaydb.flyway", version.ref = "flyway" }
ksp = { id = "com.google.devtools.ksp", version.ref = "ksp" }