craigburke/client-dependencies-gradle

Plugin not friendly to Kotlin dsl

fuzzyweapon opened this issue · 1 comments

Even after inspecting the source, I still haven't found a way to use this plugin with the kotlin-dsl. This might be my own shortcomings, but basically from what I can see, things break down because the usage of missingMethod. Tried using https://github.com/gradle/kotlin-dsl/blob/master/doc/getting-started/Closures.md to help me, but kept turning up dry.

If you'd like to make this friendly to kotlin-dsl users without changing the source language of the plugin, it wouldn't be that difficult. Here is a sample plugin: https://github.com/gradle/kotlin-dsl/tree/master/samples/kotlin-friendly-groovy-plugin

Basically I can get the top level extension container but not declare the actual dependencies.