Api Validation Extension
Properties
Non-default Gradle SourceSet names that should be validated. By default, only the main
source set is checked.
A path to a directory containing an API dump. The path should be relative to the project's root directory and should resolve to its subdirectory. By default, it's api
.
Fully qualified names of classes that are ignored by the API check. Example of such a class could be com.package.android.BuildConfig
.
Fully qualified package names that are not consider public API. For example, it could be kotlinx.coroutines.internal
or kotlinx.serialization.implementation
.
Projects that are ignored by the API check.
KLib ABI validation settings.
Fully qualified names of annotations that effectively exclude declarations from being public. Example of such annotation could be kotlinx.coroutines.InternalCoroutinesApi
.
Fully qualified names of public classes. If at least one of publicMarkers, publicPackages or publicClasses is defined, all declarations not covered by any of them will be considered non-public. ignoredPackages, ignoredClasses and nonPublicMarkers can be used for additional filtering.
Fully qualified names of annotations that can be used to explicitly mark public declarations. If at least one of publicMarkers, publicPackages or publicClasses is defined, all declarations not covered by any of them will be considered non-public. ignoredPackages, ignoredClasses and nonPublicMarkers can be used for additional filtering.
Fully qualified package names that contain public declarations. If at least one of publicMarkers, publicPackages or publicClasses is defined, all declarations not covered by any of them will be considered non-public. ignoredPackages, ignoredClasses and nonPublicMarkers can be used for additional filtering.
Disables API validation checks completely.