facebook / screenshot-tests-for-android

Generate fast deterministic screenshots during Android instrumentation tests
http://facebook.github.io/screenshot-tests-for-android
Apache License 2.0
1.74k stars 229 forks source link

Add support to Kotlin DSL #306

Open vyguera opened 2 years ago

vyguera commented 2 years ago

Expected behaviour

As a developer I would like to be able to configure Shot using Kotlin DSL notation

Actual behaviour

There's no official or documented support for DSL

Steps to reproduce

In your module's build.gradle.kts file add the following, and try to synchronize:

plugins {
  id("com.facebook.testing.screenshot") version "0.15.0"
}

Gradle is not able to resolve plugin artifact 'com.facebook.testing.screenshot:com.facebook.testing.screenshot.gradle.plugin:0.15.0'

Version of the library

0.15.0