Skip to content

Commit 76c8790

Browse files
authored
Add klib BCV (#291)
1 parent 9c1e93d commit 76c8790

File tree

16 files changed

+1129
-1
lines changed

16 files changed

+1129
-1
lines changed

build-logic/src/main/kotlin/rsocketbuild.multiplatform-library.gradle.kts

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2015-2024 the original author or authors.
2+
* Copyright 2015-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -14,6 +14,8 @@
1414
* limitations under the License.
1515
*/
1616

17+
import kotlinx.validation.*
18+
1719
plugins {
1820
id("rsocketbuild.multiplatform-base")
1921
id("rsocketbuild.publication")
@@ -23,3 +25,8 @@ plugins {
2325
kotlin {
2426
explicitApi()
2527
}
28+
29+
apiValidation {
30+
@OptIn(ExperimentalBCVApi::class)
31+
klib.enabled = true
32+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
// Klib ABI Dump
2+
// Targets: [androidNativeArm32, androidNativeArm64, androidNativeX64, androidNativeX86, iosArm64, iosSimulatorArm64, iosX64, js, linuxArm64, linuxX64, macosArm64, macosX64, mingwX64, tvosArm64, tvosSimulatorArm64, tvosX64, wasmJs, watchosArm32, watchosArm64, watchosDeviceArm64, watchosSimulatorArm64, watchosX64]
3+
// Rendering settings:
4+
// - Signature version: 2
5+
// - Show manifest properties: true
6+
// - Show declarations: true
7+
8+
// Library unique name: <io.rsocket.kotlin:ktor-client-rsocket>
9+
final class io.rsocket.kotlin.ktor.client/RSocketSupportConfig { // io.rsocket.kotlin.ktor.client/RSocketSupportConfig|null[0]
10+
final fun connector(io.rsocket.kotlin.core/RSocketConnector) // io.rsocket.kotlin.ktor.client/RSocketSupportConfig.connector|connector(io.rsocket.kotlin.core.RSocketConnector){}[0]
11+
final fun connector(kotlin/Function1<io.rsocket.kotlin.core/RSocketConnectorBuilder, kotlin/Unit>) // io.rsocket.kotlin.ktor.client/RSocketSupportConfig.connector|connector(kotlin.Function1<io.rsocket.kotlin.core.RSocketConnectorBuilder,kotlin.Unit>){}[0]
12+
}
13+
14+
final val io.rsocket.kotlin.ktor.client/RSocketSupport // io.rsocket.kotlin.ktor.client/RSocketSupport|{}RSocketSupport[0]
15+
final fun <get-RSocketSupport>(): io.ktor.client.plugins.api/ClientPlugin<io.rsocket.kotlin.ktor.client/RSocketSupportConfig> // io.rsocket.kotlin.ktor.client/RSocketSupport.<get-RSocketSupport>|<get-RSocketSupport>(){}[0]
16+
17+
final suspend fun (io.ktor.client/HttpClient).io.rsocket.kotlin.ktor.client/rSocket(kotlin/Function1<io.ktor.client.request/HttpRequestBuilder, kotlin/Unit>): io.rsocket.kotlin/RSocket // io.rsocket.kotlin.ktor.client/rSocket|rSocket@io.ktor.client.HttpClient(kotlin.Function1<io.ktor.client.request.HttpRequestBuilder,kotlin.Unit>){}[0]
18+
final suspend fun (io.ktor.client/HttpClient).io.rsocket.kotlin.ktor.client/rSocket(kotlin/String, kotlin/Boolean = ..., kotlin/Function1<io.ktor.client.request/HttpRequestBuilder, kotlin/Unit> = ...): io.rsocket.kotlin/RSocket // io.rsocket.kotlin.ktor.client/rSocket|rSocket@io.ktor.client.HttpClient(kotlin.String;kotlin.Boolean;kotlin.Function1<io.ktor.client.request.HttpRequestBuilder,kotlin.Unit>){}[0]
19+
final suspend fun (io.ktor.client/HttpClient).io.rsocket.kotlin.ktor.client/rSocket(kotlin/String? = ..., kotlin/Int? = ..., kotlin/String? = ..., kotlin/Boolean = ..., kotlin/Function1<io.ktor.client.request/HttpRequestBuilder, kotlin/Unit> = ...): io.rsocket.kotlin/RSocket // io.rsocket.kotlin.ktor.client/rSocket|rSocket@io.ktor.client.HttpClient(kotlin.String?;kotlin.Int?;kotlin.String?;kotlin.Boolean;kotlin.Function1<io.ktor.client.request.HttpRequestBuilder,kotlin.Unit>){}[0]
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
// Klib ABI Dump
2+
// Targets: [androidNativeArm32, androidNativeArm64, androidNativeX64, androidNativeX86, iosArm64, iosSimulatorArm64, iosX64, js, linuxArm64, linuxX64, macosArm64, macosX64, mingwX64, tvosArm64, tvosSimulatorArm64, tvosX64, wasmJs, watchosArm32, watchosArm64, watchosDeviceArm64, watchosSimulatorArm64, watchosX64]
3+
// Rendering settings:
4+
// - Signature version: 2
5+
// - Show manifest properties: true
6+
// - Show declarations: true
7+
8+
// Library unique name: <io.rsocket.kotlin:ktor-server-rsocket>
9+
final class io.rsocket.kotlin.ktor.server/RSocketSupportConfig { // io.rsocket.kotlin.ktor.server/RSocketSupportConfig|null[0]
10+
final fun server(io.rsocket.kotlin.core/RSocketServer) // io.rsocket.kotlin.ktor.server/RSocketSupportConfig.server|server(io.rsocket.kotlin.core.RSocketServer){}[0]
11+
final fun server(kotlin/Function1<io.rsocket.kotlin.core/RSocketServerBuilder, kotlin/Unit>) // io.rsocket.kotlin.ktor.server/RSocketSupportConfig.server|server(kotlin.Function1<io.rsocket.kotlin.core.RSocketServerBuilder,kotlin.Unit>){}[0]
12+
}
13+
14+
final val io.rsocket.kotlin.ktor.server/RSocketSupport // io.rsocket.kotlin.ktor.server/RSocketSupport|{}RSocketSupport[0]
15+
final fun <get-RSocketSupport>(): io.ktor.server.application/ApplicationPlugin<io.rsocket.kotlin.ktor.server/RSocketSupportConfig> // io.rsocket.kotlin.ktor.server/RSocketSupport.<get-RSocketSupport>|<get-RSocketSupport>(){}[0]
16+
17+
final fun (io.ktor.server.routing/Route).io.rsocket.kotlin.ktor.server/rSocket(kotlin/String, kotlin/String? = ..., io.rsocket.kotlin/ConnectionAcceptor) // io.rsocket.kotlin.ktor.server/rSocket|rSocket@io.ktor.server.routing.Route(kotlin.String;kotlin.String?;io.rsocket.kotlin.ConnectionAcceptor){}[0]
18+
final fun (io.ktor.server.routing/Route).io.rsocket.kotlin.ktor.server/rSocket(kotlin/String? = ..., io.rsocket.kotlin/ConnectionAcceptor) // io.rsocket.kotlin.ktor.server/rSocket|rSocket@io.ktor.server.routing.Route(kotlin.String?;io.rsocket.kotlin.ConnectionAcceptor){}[0]
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
// Klib ABI Dump
2+
// Targets: [androidNativeArm32, androidNativeArm64, androidNativeX64, androidNativeX86, iosArm64, iosSimulatorArm64, iosX64, js, linuxArm64, linuxX64, macosArm64, macosX64, mingwX64, tvosArm64, tvosSimulatorArm64, tvosX64, wasmJs, watchosArm32, watchosArm64, watchosDeviceArm64, watchosSimulatorArm64, watchosX64]
3+
// Rendering settings:
4+
// - Signature version: 2
5+
// - Show manifest properties: true
6+
// - Show declarations: true
7+
8+
// Library unique name: <io.rsocket.kotlin:rsocket-ktor-client>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
// Klib ABI Dump
2+
// Targets: [androidNativeArm32, androidNativeArm64, androidNativeX64, androidNativeX86, iosArm64, iosSimulatorArm64, iosX64, js, linuxArm64, linuxX64, macosArm64, macosX64, mingwX64, tvosArm64, tvosSimulatorArm64, tvosX64, wasmJs, watchosArm32, watchosArm64, watchosDeviceArm64, watchosSimulatorArm64, watchosX64]
3+
// Rendering settings:
4+
// - Signature version: 2
5+
// - Show manifest properties: true
6+
// - Show declarations: true
7+
8+
// Library unique name: <io.rsocket.kotlin:rsocket-ktor-server>

0 commit comments

Comments
 (0)