ViddikPlugin
Wires viddik screenshot testing into a module.
Replaces the block every consumer used to copy: the dependencies (with the right coordinates for a KMP or a plain JVM module), the KSP processor on the right configuration, the generated-source directory, and a pair of tasks for recording and verifying goldens.
plugins {
kotlin("multiplatform")
id("com.google.devtools.ksp")
id("ru.workinprogress.viddik")
}Content copied to clipboard
KSP is the consumer's to apply: its version is pinned to their exact Kotlin compiler version, so the plugin can only check that it's there.