gradle/plugins/setup/src/main/kotlin/BinaryCompatibilityValidatorConfig.kt
/** * * @see kotlinx.validation.ApiValidationExtension */class BinaryCompatibilityValidatorConfig( /** * Fully qualified package names that not consider public API. * For example, it could be `kotlinx.coroutines.internal` or `kotlinx.serialization.implementation`. * * @see kotlinx.validation.ApiValidationExtension.ignoredPackages */ val ignoredPackages: List<String> = emptyList(), /** * Fully qualified names of annotations that effectively exclude declarations from being public. * Example of such annotation could be `kotlinx.coroutines.InternalCoroutinesApi`. * * @see kotlinx.validation.ApiValidationExtension.nonPublicMarkers */ val nonPublicMarkers: List<String> = emptyList(), /** * Fully qualified names of classes that ignored by the API check. * Example of such a class could be `com.package.android.BuildConfig`. * * @see kotlinx.validation.ApiValidationExtension.ignoredClasses */ val ignoredClasses: List<String> = emptyList(), /** * Whether to turn off validation for non-release builds. * * @see isRelease * @see kotlinx.validation.ApiValidationExtension.validationDisabled */ val disableForNonRelease: Boolean = false, /** * Whether to verify JS API. Uses compiled TypeScript definitions. */ val jsApiChecks: Boolean = true,)