Skip to content

Commit

Permalink
Apply the binary compatibility validator Gradle plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
ShreckYe committed Nov 8, 2024
1 parent 4770b34 commit f0adc17
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ tasks.wrapper {

plugins {
id("org.jetbrains.dokka")
id("org.jetbrains.kotlinx.binary-compatibility-validator") version "0.16.3"
}

dependencies {
Expand All @@ -28,3 +29,10 @@ tasks.register<Sync>("generateSite") {
}
from(layout.projectDirectory.dir("site"))
}

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

0 comments on commit f0adc17

Please sign in to comment.