Skip to content

Commit 918b1cc

Browse files
authored
Enable Klib validation (#4094)
* Update atomicfu * Enable Klib validation
1 parent c1a16f8 commit 918b1cc

File tree

5 files changed

+1031
-2
lines changed

5 files changed

+1031
-2
lines changed

build.gradle.kts

+4
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,10 @@ apiValidation {
7878
ignoredProjects += coreModule
7979
}
8080
ignoredPackages += "kotlinx.coroutines.internal"
81+
@OptIn(kotlinx.validation.ExperimentalBCVApi::class)
82+
klib {
83+
enabled = true
84+
}
8185
}
8286

8387
// Configure repositories

buildSrc/build.gradle.kts

+2
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ dependencies {
5555
exclude(group = "org.jetbrains.kotlin", module = "kotlin-stdlib-jdk7")
5656
exclude(group = "org.jetbrains.kotlin", module = "kotlin-stdlib")
5757
}
58+
// Force ASM version, otherwise the one from animalsniffer wins (which is too low for BCV)
59+
implementation("org.ow2.asm:asm:9.6")
5860
implementation("ru.vyarus:gradle-animalsniffer-plugin:${version("animalsniffer")}") // Android API check
5961
implementation("org.jetbrains.kotlinx:kover-gradle-plugin:${version("kover")}") {
6062
exclude(group = "org.jetbrains.kotlin", module = "kotlin-stdlib-jdk8")

gradle.properties

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ version=1.8.1-Beta-SNAPSHOT
33
group=org.jetbrains.kotlinx
44
kotlin_version=1.9.21
55
# DO NOT rename this property without adapting kotlinx.train build chain:
6-
atomicfu_version=0.23.1
6+
atomicfu_version=0.23.2
77

88
# Dependencies
99
junit_version=4.12
@@ -19,7 +19,7 @@ rxjava2_version=2.2.8
1919
rxjava3_version=3.0.2
2020
javafx_version=17.0.2
2121
javafx_plugin_version=0.0.8
22-
binary_compatibility_validator_version=0.13.2
22+
binary_compatibility_validator_version=0.15.0-Beta.2
2323
kover_version=0.8.0-Beta2
2424
blockhound_version=1.0.8.RELEASE
2525
jna_version=5.9.0

0 commit comments

Comments
 (0)