Skip to content

Commit 03427b0

Browse files
committed
build: update version to 1.21.10-2.40.2 and refactor coroutine and reactor dependencies
1 parent c02cf1a commit 03427b0

7 files changed

Lines changed: 231287 additions & 63145 deletions

File tree

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ org.jetbrains.dokka.experimental.gradle.pluginMode=V2Enabled
77
javaVersion=21
88
mcVersion=1.21.10
99
group=dev.slne.surf
10-
version=1.21.10-2.40.1
10+
version=1.21.10-2.40.2
1111
relocationPrefix=dev.slne.surf.surfapi.libs
1212
snapshot=false

gradle/libs.versions.toml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ auto-service-ksp = "1.2.0"
6060
ktor = "3.3.1"
6161
glm = "0.9.9.1-12"
6262
ksp-version = "2.2.20-2.0.4"
63+
reactor-netty = "1.3.0"
6364

6465
# Plugin versions
6566
maven-repo-auth = "3.0.4"
@@ -154,6 +155,8 @@ ktor-client-core = { module = "io.ktor:ktor-client-core", version.ref = "ktor" }
154155
ktor-client-okhttp = { module = "io.ktor:ktor-client-okhttp", version.ref = "ktor" }
155156
ktor-client-content-negotiation = { module = "io.ktor:ktor-client-content-negotiation", version.ref = "ktor" }
156157
ktor-serialization-kotlinx-json = { module = "io.ktor:ktor-serialization-kotlinx-json", version.ref = "ktor" }
158+
reactor-netty-core = { module = "io.projectreactor.netty:reactor-netty-core", version.ref = "reactor-netty" }
159+
reactor-netty-http = { module = "io.projectreactor.netty:reactor-netty-http", version.ref = "reactor-netty" }
157160

158161
# Plugin dependencies
159162
kotlin-gradle-plugin = { module = "org.jetbrains.kotlin:kotlin-gradle-plugin", version.ref = "kotlinVersion" }
@@ -178,4 +181,6 @@ ksp = { id = "com.google.devtools.ksp", version.ref = "ksp-version" }
178181

179182
[bundles]
180183
ktor-client = ["ktor-client-core", "ktor-client-okhttp", "ktor-client-content-negotiation", "ktor-serialization-kotlinx-json"]
181-
inventory-framework = ["inventory-framework-platform-paper", "inventory-framework-platform-bukkit"]
184+
inventory-framework = ["inventory-framework-platform-paper", "inventory-framework-platform-bukkit"]
185+
reactor-netty = ["reactor-netty-core", "reactor-netty-http"]
186+
kotlin-coroutines = ["kotlinxCoroutines-core", "kotlinxCoroutines-reactor", "kotlinxCoroutines-reactive"]

surf-api-bukkit/surf-api-bukkit-api/api/surf-api-bukkit-api.api

Lines changed: 78285 additions & 22239 deletions
Large diffs are not rendered by default.

surf-api-core/surf-api-core-api/api/surf-api-core-api.api

Lines changed: 76496 additions & 20450 deletions
Large diffs are not rendered by default.

surf-api-core/surf-api-core-api/build.gradle.kts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,8 @@ dependencies {
2929
api(libs.glm)
3030

3131
api(libs.caffeine.courotines)
32-
api(libs.kotlinxCoroutines.core)
33-
api(libs.kotlinxCoroutines.reactive)
34-
api(libs.kotlinxCoroutines.reactor)
32+
api(libs.bundles.kotlin.coroutines)
33+
api(libs.bundles.reactor.netty)
3534
api(libs.kotlin.reflect)
3635
api(libs.kotlin.serialization.json)
3736

surf-api-gradle-plugin/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ plugins {
2020
group = groupId
2121
version = buildString {
2222
append(mcVersion)
23-
append("-1.5.3")
23+
append("-1.5.4")
2424
if (snapshot) append("-SNAPSHOT")
2525
}
2626

surf-api-velocity/surf-api-velocity-api/api/surf-api-velocity-api.api

Lines changed: 76496 additions & 20450 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)