Related: We’d like to help plugin authors provide Kotlin DSL samples. If you’re on this list (https://github.com/gradle/gradle/issues/6790) or want to me, also contact me or Paul on the Gradle team!
g
gildor
09/18/2018, 1:42 AM
I’m thinking that it would be really good to have some integration of snippet window with DSL switcher on Github Markdown
Maybe Gradle team could contact with Github to allow use Gradle docs kotlin/groovy switcher
gildor
09/18/2018, 1:44 AM
Because Gradle snippets exist on so many projects, so probably it feasible
e
eriwen
09/18/2018, 1:49 AM
There might be a clever way to achieve this without anything special from GitHub
g
gildor
09/18/2018, 1:51 AM
Good to hear. Maybe make sense to provide some markdown snippet generator.
I would like to see solution for this
If you want to show also Kotlin DSL snippet in this case you will have too many noise in README file
e
eriwen
09/18/2018, 2:03 AM
Will think about it. Other ideas welcome
g
gildor
09/18/2018, 2:09 AM
Github Markdown is very limited and doesn’t allow to use iframes, not sure that you can implement something really useful.
this is why I think direct support of Gradle DSLs by Github would be a really big thing for Kotlin DSL