Skip to content

Commit

Permalink
Add klib api dump
Browse files Browse the repository at this point in the history
  • Loading branch information
05nelsonm committed Aug 30, 2024
1 parent 303337b commit 55cb75b
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
3 changes: 3 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ plugins.withType<YarnPlugin> {
}

apiValidation {
@OptIn(kotlinx.validation.ExperimentalBCVApi::class)
klib.enabled = true

if ((findProperty("CHECK_PUBLICATION") as? String) != null) {
ignoredProjects.add("check-publication")
}
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[versions]
gradle-binary-compat = "0.14.0"
gradle-binary-compat = "0.16.3"
gradle-kmp-configuration = "0.3.2"
gradle-kotlin = "1.9.24"
gradle-publish-maven = "0.29.0"
Expand Down
14 changes: 14 additions & 0 deletions library/collections/api/collections.klib.api
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
// Klib ABI Dump
// Targets: [androidNativeArm32, androidNativeArm64, androidNativeX64, androidNativeX86, iosArm64, iosSimulatorArm64, iosX64, js, linuxArm64, linuxX64, macosArm64, macosX64, mingwX64, tvosArm64, tvosSimulatorArm64, tvosX64, wasmJs, wasmWasi, watchosArm32, watchosArm64, watchosDeviceArm64, watchosSimulatorArm64, watchosX64]
// Rendering settings:
// - Signature version: 2
// - Show manifest properties: true
// - Show declarations: true

// Library unique name: <io.matthewnelson.immutable:collections>
final fun <#A: kotlin/Any?, #B: kotlin/Any?> (kotlin.collections/Map<#A, #B>).io.matthewnelson.immutable.collections/toImmutableMap(): kotlin.collections/Map<#A, #B> // io.matthewnelson.immutable.collections/toImmutableMap|[email protected]<0:0,0:1>(){0§<kotlin.Any?>;1§<kotlin.Any?>}[0]
final fun <#A: kotlin/Any?, #B: kotlin/Any?> io.matthewnelson.immutable.collections/immutableMapOf(kotlin/Array<out kotlin/Pair<#A, #B>>...): kotlin.collections/Map<#A, #B> // io.matthewnelson.immutable.collections/immutableMapOf|immutableMapOf(kotlin.Array<out|kotlin.Pair<0:0,0:1>>...){0§<kotlin.Any?>;1§<kotlin.Any?>}[0]
final fun <#A: kotlin/Any?> (kotlin.collections/Collection<#A>).io.matthewnelson.immutable.collections/toImmutableList(): kotlin.collections/List<#A> // io.matthewnelson.immutable.collections/toImmutableList|[email protected]<0:0>(){0§<kotlin.Any?>}[0]
final fun <#A: kotlin/Any?> (kotlin.collections/Collection<#A>).io.matthewnelson.immutable.collections/toImmutableSet(): kotlin.collections/Set<#A> // io.matthewnelson.immutable.collections/toImmutableSet|[email protected]<0:0>(){0§<kotlin.Any?>}[0]
final fun <#A: kotlin/Any?> io.matthewnelson.immutable.collections/immutableListOf(kotlin/Array<out #A>...): kotlin.collections/List<#A> // io.matthewnelson.immutable.collections/immutableListOf|immutableListOf(kotlin.Array<out|0:0>...){0§<kotlin.Any?>}[0]
final fun <#A: kotlin/Any?> io.matthewnelson.immutable.collections/immutableSetOf(kotlin/Array<out #A>...): kotlin.collections/Set<#A> // io.matthewnelson.immutable.collections/immutableSetOf|immutableSetOf(kotlin.Array<out|0:0>...){0§<kotlin.Any?>}[0]

0 comments on commit 55cb75b

Please sign in to comment.