gradle / kotlin-dsl-samples

Samples builds using the Gradle Kotlin DSL
https://gradle.org/kotlin/
Other
3.71k stars 434 forks source link

sample shows how you can test your custom buildSrc logic with a JUnit4 test #1302

Closed abendt closed 5 years ago

abendt commented 5 years ago

Context

While learning how to use the Kotlin DSL for Gradle I found the samples to be immensely helpful. However I missed a sample that demonstrated how to unit-test your custom logic in buildSrc with. I think other users also could benefit from some this sample.

https://github.com/gradle/kotlin-dsl/issues/1087

Contributor Checklist