Commit 5f725bb
authored
[plugin] update Gradle plugin extension to use Actions (#901)
* [plugin] update Gradle plugin extension to use Actions
Originally extension was using Kotlin lambdas for some configuration which worked fine when used from Kotlin script (`build.gralde.kts`) but it could not be easily used from Groovy scripts (`build.gradle`). By changing from lambda with a receiver to a Groovy Action the resulting code will be translated using SAM conversion that makes it possible to configure the extension using Kotlin lambda or Groovy closure.
Resolves: #893
* fix ktlint violations1 parent a2d781b commit 5f725bb
File tree
7 files changed
+579
-74
lines changed- docs/plugins
- plugins/graphql-kotlin-gradle-plugin/src
- main/kotlin/com/expediagroup/graphql/plugin/gradle
- test/kotlin/com/expediagroup/graphql/plugin/gradle
7 files changed
+579
-74
lines changed
0 commit comments