From 386c7791c20c7a20a15d1ef2671772f822c8b9fe Mon Sep 17 00:00:00 2001
From: Dana <Dana_Lee1016@126.com>
Date: 星期日, 30 十一月 2025 11:16:10 +0800
Subject: [PATCH] 1.tcp udp 切换 加netty
---
gradle/libs.versions.toml | 2 ++
app/build.gradle | 1 +
2 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/app/build.gradle b/app/build.gradle
index bd85ede..9215b6a 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -64,6 +64,7 @@
implementation libs.androidx.ui.graphics
implementation libs.androidx.ui.tooling.preview
implementation libs.androidx.material3
+ implementation libs.netty.all
testImplementation libs.junit
androidTestImplementation libs.androidx.junit
androidTestImplementation libs.androidx.espresso.core
diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml
index bec81db..ed71bad 100644
--- a/gradle/libs.versions.toml
+++ b/gradle/libs.versions.toml
@@ -8,6 +8,7 @@
lifecycleRuntimeKtx = "2.6.1"
activityCompose = "1.8.0"
composeBom = "2024.04.01"
+netty = "4.1.48.Final"
[libraries]
androidx-core-ktx = { group = "androidx.core", name = "core-ktx", version.ref = "coreKtx" }
@@ -24,6 +25,7 @@
androidx-ui-test-manifest = { group = "androidx.compose.ui", name = "ui-test-manifest" }
androidx-ui-test-junit4 = { group = "androidx.compose.ui", name = "ui-test-junit4" }
androidx-material3 = { group = "androidx.compose.material3", name = "material3" }
+netty-all = { group = "io.netty", name = "netty-all", version.ref = "netty" }
[plugins]
android-application = { id = "com.android.application", version.ref = "agp" }
--
Gitblit v1.8.0