Skip to content

Add klib BCV #291

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 8, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2015-2024 the original author or authors.
* Copyright 2015-2025 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -14,6 +14,8 @@
* limitations under the License.
*/

import kotlinx.validation.*

plugins {
id("rsocketbuild.multiplatform-base")
id("rsocketbuild.publication")
Expand All @@ -23,3 +25,8 @@ plugins {
kotlin {
explicitApi()
}

apiValidation {
@OptIn(ExperimentalBCVApi::class)
klib.enabled = true
}
19 changes: 19 additions & 0 deletions ktor-plugins/ktor-client-rsocket/api/ktor-client-rsocket.klib.api
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
// Klib ABI Dump
// Targets: [androidNativeArm32, androidNativeArm64, androidNativeX64, androidNativeX86, iosArm64, iosSimulatorArm64, iosX64, js, linuxArm64, linuxX64, macosArm64, macosX64, mingwX64, tvosArm64, tvosSimulatorArm64, tvosX64, wasmJs, watchosArm32, watchosArm64, watchosDeviceArm64, watchosSimulatorArm64, watchosX64]
// Rendering settings:
// - Signature version: 2
// - Show manifest properties: true
// - Show declarations: true

// Library unique name: <io.rsocket.kotlin:ktor-client-rsocket>
final class io.rsocket.kotlin.ktor.client/RSocketSupportConfig { // io.rsocket.kotlin.ktor.client/RSocketSupportConfig|null[0]
final fun connector(io.rsocket.kotlin.core/RSocketConnector) // io.rsocket.kotlin.ktor.client/RSocketSupportConfig.connector|connector(io.rsocket.kotlin.core.RSocketConnector){}[0]
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]
}

final val io.rsocket.kotlin.ktor.client/RSocketSupport // io.rsocket.kotlin.ktor.client/RSocketSupport|{}RSocketSupport[0]
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]

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|[email protected](kotlin.Function1<io.ktor.client.request.HttpRequestBuilder,kotlin.Unit>){}[0]
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|[email protected](kotlin.String;kotlin.Boolean;kotlin.Function1<io.ktor.client.request.HttpRequestBuilder,kotlin.Unit>){}[0]
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|[email protected](kotlin.String?;kotlin.Int?;kotlin.String?;kotlin.Boolean;kotlin.Function1<io.ktor.client.request.HttpRequestBuilder,kotlin.Unit>){}[0]
18 changes: 18 additions & 0 deletions ktor-plugins/ktor-server-rsocket/api/ktor-server-rsocket.klib.api
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
// Klib ABI Dump
// Targets: [androidNativeArm32, androidNativeArm64, androidNativeX64, androidNativeX86, iosArm64, iosSimulatorArm64, iosX64, js, linuxArm64, linuxX64, macosArm64, macosX64, mingwX64, tvosArm64, tvosSimulatorArm64, tvosX64, wasmJs, watchosArm32, watchosArm64, watchosDeviceArm64, watchosSimulatorArm64, watchosX64]
// Rendering settings:
// - Signature version: 2
// - Show manifest properties: true
// - Show declarations: true

// Library unique name: <io.rsocket.kotlin:ktor-server-rsocket>
final class io.rsocket.kotlin.ktor.server/RSocketSupportConfig { // io.rsocket.kotlin.ktor.server/RSocketSupportConfig|null[0]
final fun server(io.rsocket.kotlin.core/RSocketServer) // io.rsocket.kotlin.ktor.server/RSocketSupportConfig.server|server(io.rsocket.kotlin.core.RSocketServer){}[0]
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]
}

final val io.rsocket.kotlin.ktor.server/RSocketSupport // io.rsocket.kotlin.ktor.server/RSocketSupport|{}RSocketSupport[0]
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]

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|[email protected](kotlin.String;kotlin.String?;io.rsocket.kotlin.ConnectionAcceptor){}[0]
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|[email protected](kotlin.String?;io.rsocket.kotlin.ConnectionAcceptor){}[0]
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// Klib ABI Dump
// Targets: [androidNativeArm32, androidNativeArm64, androidNativeX64, androidNativeX86, iosArm64, iosSimulatorArm64, iosX64, js, linuxArm64, linuxX64, macosArm64, macosX64, mingwX64, tvosArm64, tvosSimulatorArm64, tvosX64, wasmJs, watchosArm32, watchosArm64, watchosDeviceArm64, watchosSimulatorArm64, watchosX64]
// Rendering settings:
// - Signature version: 2
// - Show manifest properties: true
// - Show declarations: true

// Library unique name: <io.rsocket.kotlin:rsocket-ktor-client>
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// Klib ABI Dump
// Targets: [androidNativeArm32, androidNativeArm64, androidNativeX64, androidNativeX86, iosArm64, iosSimulatorArm64, iosX64, js, linuxArm64, linuxX64, macosArm64, macosX64, mingwX64, tvosArm64, tvosSimulatorArm64, tvosX64, wasmJs, watchosArm32, watchosArm64, watchosDeviceArm64, watchosSimulatorArm64, watchosX64]
// Rendering settings:
// - Signature version: 2
// - Show manifest properties: true
// - Show declarations: true

// Library unique name: <io.rsocket.kotlin:rsocket-ktor-server>
Loading