pedrovgs / Shot

Screenshot testing library for Android
Apache License 2.0
1.18k stars 116 forks source link

Add support to Kotlin DSL #297

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.karumi.shot") version "5.13.0"
}

Gradle is not able to resolve plugin artifact 'com.karumi.shot:com.karumi.shot.gradle.plugin:5.13.0'

Version of the library

5.13.0

zaaaach commented 2 years ago

Am I able to use this library at all without converting back to Groovy for Gradle?

shen-david commented 2 years ago

@zaaaach see https://github.com/pedrovgs/Shot/issues/319