Skip to content

Commit 9933c82

Browse files
committed
清理依赖
1 parent 59c5c1c commit 9933c82

File tree

3 files changed

+4
-35
lines changed

3 files changed

+4
-35
lines changed

gradle/libs.versions.toml

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ dokka = "1.9.10"
66
openjdk-jmh = "1.37"
77
ktor = "2.3.8"
88
log4j = "2.23.0"
9-
reactor = "3.6.2"
109
# simbot
1110
simbot = "4.0.0-beta1"
1211
suspendTransform = "0.6.0"
@@ -61,28 +60,17 @@ charleskorn-kaml = "com.charleskorn.kaml:kaml:0.57.0"
6160
# ktor
6261
## serialization
6362
ktor-serialization-kotlinx-json = { group = "io.ktor", name = "ktor-serialization-kotlinx-json", version.ref = "ktor" }
64-
## server
65-
ktor-server-contentNegotiation = { group = "io.ktor", name = "ktor-server-content-negotiation", version.ref = "ktor" }
66-
ktor-server-core = { group = "io.ktor", name = "ktor-server-core", version.ref = "ktor" }
67-
ktor-server-netty = { group = "io.ktor", name = "ktor-server-netty", version.ref = "ktor" }
68-
ktor-server-jetty = { group = "io.ktor", name = "ktor-server-jetty", version.ref = "ktor" }
69-
ktor-server-tomcat = { group = "io.ktor", name = "ktor-server-tomcat", version.ref = "ktor" }
70-
ktor-server-cio = { group = "io.ktor", name = "ktor-server-cio", version.ref = "ktor" }
7163
# compression
7264
## 似乎也支持 client
7365
ktor-server-compression = { group = "io.ktor", name = "ktor-server-compression", version.ref = "ktor" }
7466

7567
## client
7668
ktor-client-contentNegotiation = { group = "io.ktor", name = "ktor-client-content-negotiation", version.ref = "ktor" }
7769
ktor-client-serialization = { group = "io.ktor", name = "ktor-client-serialization", version.ref = "ktor" }
78-
ktor-client-auth = { group = "io.ktor", name = "ktor-client-auth", version.ref = "ktor" }
7970
ktor-client-websockets = { group = "io.ktor", name = "ktor-client-websockets", version.ref = "ktor" }
8071
ktor-client-core = { group = "io.ktor", name = "ktor-client-core", version.ref = "ktor" }
81-
ktor-client-apache = { group = "io.ktor", name = "ktor-client-apache", version.ref = "ktor" }
8272
ktor-client-java = { group = "io.ktor", name = "ktor-client-java", version.ref = "ktor" }
83-
ktor-client-jetty = { group = "io.ktor", name = "ktor-client-jetty", version.ref = "ktor" }
8473
ktor-client-cio = { group = "io.ktor", name = "ktor-client-cio", version.ref = "ktor" }
85-
ktor-client-okhttp = { group = "io.ktor", name = "ktor-client-okhttp", version.ref = "ktor" }
8674
ktor-client-ws = { group = "io.ktor", name = "ktor-client-websockets", version.ref = "ktor" }
8775

8876
ktor-client-js = { group = "io.ktor", name = "ktor-client-js", version.ref = "ktor" }
@@ -102,28 +90,9 @@ ksp = { module = "com.google.devtools.ksp:symbol-processing-api", version.ref =
10290
# https://square.github.io/kotlinpoet/interop-ksp/
10391
kotlinPoet-ksp = { module = "com.squareup:kotlinpoet-ksp", version.ref = "kotlinPoet" }
10492

105-
106-
107-
# slf4j
108-
slf4j-api = "org.slf4j:slf4j-api:2.0.12"
109-
110-
# javax
111-
javax-inject = "javax.inject:javax.inject:1"
112-
javax-annotation-api = "javax.annotation:javax.annotation-api:1.3.2"
113-
114-
# lmax-disruptor
115-
lmax-disruptor = "com.lmax:disruptor:3.4.4"
116-
# jmh
117-
openjdk-jmh-core = { group = "org.openjdk.jmh", name = "jmh-core", version.ref = "openjdk-jmh" }
118-
openjdk-jmh-generator-annprocess = { group = "org.openjdk.jmh", name = "jmh-generator-annprocess", version.ref = "openjdk-jmh" }
119-
120-
# reactor
121-
reactor-core = { group = "io.projectreactor", name = "reactor-core", version.ref = "reactor" }
122-
12393
# log4j
12494
log4j-api = { group = "org.apache.logging.log4j", name = "log4j-api", version.ref = "log4j" }
12595
log4j-core = { group = "org.apache.logging.log4j", name = "log4j-core", version.ref = "log4j" }
126-
log4j-slf4jImpl = { group = "org.apache.logging.log4j", name = "log4j-slf4j-impl", version.ref = "log4j" }
12796
log4j-slf4j2Impl = { group = "org.apache.logging.log4j", name = "log4j-slf4j2-impl", version.ref = "log4j" }
12897

12998
# dokka

simbot-component-kook-api/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ kotlin {
9494
implementation(libs.log4j.api)
9595
implementation(libs.log4j.core)
9696
implementation(libs.log4j.slf4j2Impl)
97-
implementation(libs.kotlinx.coroutines.reactor)
98-
implementation(libs.reactor.core)
97+
// implementation(libs.kotlinx.coroutines.reactor)
98+
// implementation(libs.reactor.core)
9999
}
100100
}
101101

simbot-component-kook-core/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@ kotlin {
8484

8585
jvmTest.dependencies {
8686
runtimeOnly(libs.ktor.client.cio)
87-
runtimeOnly(libs.kotlinx.coroutines.reactor)
88-
implementation(libs.reactor.core)
87+
// runtimeOnly(libs.kotlinx.coroutines.reactor)
88+
// implementation(libs.reactor.core)
8989

9090
implementation(libs.log4j.api)
9191
implementation(libs.log4j.core)

0 commit comments

Comments
 (0)