ViddikPlugin

class ViddikPlugin : Plugin<Project>

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")
}

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.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open override fun apply(target: Project)