szpak / gradle-pitest-plugin

Gradle plugin for PIT Mutation Testing
http://gradle-pitest-plugin.solidsoft.info/
211 stars 57 forks source link

Add examples of using plugin with kotlin-dsl #339

Closed mfvanek closed 9 months ago

mfvanek commented 1 year ago

I've faced with a lack of working examples for kotlin-dsl. For newbie Kotlin devs (like me) it's hard and sometimes unclear how to transform working groovy script to kotlin-dsl.

Usually in README.md there are some expandable blocks named 'with Kotlin DSL' where corresponding examples are located.
For instance, see https://github.com/spotbugs/spotbugs-gradle-plugin or https://github.com/tbroyer/gradle-errorprone-plugin

Can we add documentation to README.md by analogy?

mfvanek commented 1 year ago

I'd like to make a PR if you consider this issue is worth attention

szpak commented 1 year ago

I'm stuck to Gradle as the Kotlin version (still) builds much longer and has some limitations. However, Gradle (still) promotes it, so it sound sensible to have also the Kotlin counterparts in README.

It would be great to have a PR with those changes. Please keep the Kotlin version collapsed.

mfvanek commented 10 months ago

I'm working on it. Still in progress