Abi Validation Extension
An experimental plugin DSL extension to configure Application Binary Interface (ABI) validation.
ABI validation is a part of the Kotlin toolset designed to control which declarations are available to other modules. You can use this tool to control the binary compatibility of your library or shared module.
This extension is available inside the kotlin {} block in your build script:
kotlin {
abiValidation {
// Your ABI validation configuration
}
}Note that this DSL is experimental, and it will likely change in future versions until it is stable.
Since
2.2.0
Properties
Specifies the source of the binaries to extract ABI declarations from.
A provider for the task that compares actual dumps from the current with dumps from referenceDumpDir.
A set of filtering rules that restrict Application Binary Interface (ABI) declarations from being included in a dump.
Whether to include the declarations for targets which are not supported by the host in the generated dump. Targets which are not supported by the host in two cases:
Provides configuration for dumps stored in the old format that are used separately in the Binary Compatibility validator plugin.
The directory containing reference dumps that the dump generated from the current code is compared with by the checkTaskProvider task.
Overwrite dumps in the referenceDumpDir directory with the actual dumps for the current code.
Functions
Configures the filters with the provided configuration.
Configures the legacyDump with the provided configuration.