GifRecorderExtension

abstract class GifRecorderExtension @Inject constructor(objects: ObjectFactory)

Configuration DSL for the Compose GIF Recorder Gradle plugin.

Constructors

Link copied to clipboard
@Inject
constructor(objects: ObjectFactory)

Properties

Link copied to clipboard
val adbBin: Property<String>

adb executable path or command name.

Link copied to clipboard
val adbSerial: Property<String>

Device serial, or auto to pick a single connected device.

Link copied to clipboard
val applicationId: Property<String>

Android application ID used for instrumentation and device pull paths.

Link copied to clipboard
val ffmpegBin: Property<String>

ffmpeg executable path or command name.

Link copied to clipboard
val ffprobeBin: Property<String>

ffprobe executable path or command name.

Link copied to clipboard
val gifHeight: Property<Int>

Output GIF height in pixels. Use 0 for auto height.

Link copied to clipboard
val gifsicleBin: Property<String>

gifsicle executable path or command name.

Link copied to clipboard
val gifWidth: Property<Int>

Output GIF width in pixels.

Link copied to clipboard
val libraryVersion: Property<String>

Recorder library version injected into app dependencies.

Link copied to clipboard
val outputDir: DirectoryProperty

Directory where generated GIFs are written.

Link copied to clipboard
val registryClass: Property<String>

Generated registry class name used by instrumentation.

Link copied to clipboard
val scenario: Property<String>

Scenario name to capture, or all.

Link copied to clipboard
val testClass: Property<String>

Instrumentation test class used for frame capture.