-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable binary compatibility validation for KLibs (#929)
* Enable binary compatibility validation for KLibs See https://github.com/Kotlin/binary-compatibility-validator/blob/0.15.0-Beta.1/README.md#experimental-klib-abi-validation-support * Use 0.15.0-Beta.2 The workaround for :core:live-tests is no longer needed.
- Loading branch information
1 parent
4180ad0
commit d9ad58e
Showing
6 changed files
with
26,506 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
import kotlinx.validation.ApiValidationExtension | ||
import kotlinx.validation.ExperimentalBCVApi | ||
|
||
fun ApiValidationExtension.applyKordBCVOptions() { | ||
nonPublicMarkers += "dev.kord.common.annotation.KordInternal" | ||
@OptIn(ExperimentalBCVApi::class) | ||
klib.enabled = true | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.