Search Gradle plugins

Captures Compose previews into agent-readable screenshot and snapshot artifacts.

https://github.com/static-var/AgentPreview

Sources: https://github.com/static-var/AgentPreview.git

Version 0.1.1 (latest)

Created 30 May 2026.

Captures Compose previews into agent-readable screenshot and snapshot artifacts.

Gradle features compatibility:
Configuration cache

Add this plugin to your build using the plugins DSL:

plugins {
  id("dev.staticvar.agentpreview") version "0.1.1"
}

See also:

  • Adding the plugin to build logic for usage in precompiled script plugins.

    See the relevant documentation for more information.

    Add this plugin as a dependency to <convention-plugins-build>/build.gradle(.kts):

    dependencies {
      implementation("dev.staticvar.agentpreview:dev.staticvar.agentpreview.gradle.plugin:0.1.1")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("dev.staticvar.agentpreview")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("dev.staticvar.agentpreview:dev.staticvar.agentpreview.gradle.plugin:0.1.1")
      }
    }
    
    apply(plugin = "dev.staticvar.agentpreview")
  • Applying plugins to all subprojects .