failOnEmptyBaseline

abstract val failOnEmptyBaseline: Property<Boolean>

Whether a baseline that produced zero contracts (while the current schema has some) fails the build. Defaults to true: a degenerate baseline would otherwise diff as "everything added → safe" and silently mask removals. Set false for first-time adoption, where the baseline ref legitimately has no @Serializable types yet.