https://kotlinlang.org logo
Title
j

jmfayard

10/16/2018, 1:41 PM
good thanks!
g

gildor

10/16/2018, 2:34 PM
Also check official migration guide, covers this topic too
j

jmfayard

10/16/2018, 3:39 PM
Also check official migration guide, that covers the migration to the plugins block too
Yes but the migration guide says something like "sometime the plugin works out of the box, sometimes it doesn't, sometime the plugin is type-safe, sometime it isn't" Also finding the right plugin ID is left as an exercise to the reader. This is why I'm suggesting to have a shared spreedsheet (wiki or something) where we could detail that
g

gildor

10/16/2018, 5:49 PM
This statement about "sometimes the plugin is type-safe, sometimes it isn't" definitely make sense, but not because bof plugins dsl, but jusy because plugin is too dinamic
I think that any centralized wiki cannot solve problem of thousands Gradle plugins, the best thing what community can do is report such issues to plugin authors and request Kotlin DSL docs (or even contribute it to plugins repo, it's not so hard)
Actually there is a big epic task to provide docs for popular third party plugins on Gradle's GitHub https://github.com/gradle/gradle/issues/6790
Finding right plugin id usually not a problem, I see it in instructions of most of Gradle plugins, also plugins.gradle.org is good way to find required plugin This is not only Kotlin DSL thing, plugins dsl used for groovy as well and actually recommended way to configure Gradle, eventually buildscript dsl will be deprecated
j

jmfayard

10/16/2018, 8:06 PM
Thanks a lot!
g

gildor

10/16/2018, 11:35 PM
Sorry, fixed Gradle plugins portal link