Closed dector closed 4 years ago
@eparovyshnaya What do you think about it?
That would be consistent and a bit witty :)
It will just work for those students who are not interested, and will introduce Kotlin DSL power for the ones who will dig deeper.
Besides, despite KotlinDSL is less documented and is not very popular, it is recommended by Gradle Team at least for IJ Idea users as it has better IDE integrations.
Kotlin DSL in Gradle is more or less mature now. I'm unsing it since it was introduced and I see significant improvements over time.
I find official documentation here and here quite good. IDE support become much-much better as well.
There are few flows though (like dynamic environment compilation) but currently I'm using Kotlin DSL in production and not going to get back to Groovy scripts. :)
Agree, evolution is quick and significant. A year (or so) ago there even was no primer on the gradle's site. We still do not have wordy dsl reference, but generated KDoc for api is available.
Eitherway, the idea to exploit it to build exercises is nice both for students and maintainers. Let's benefit from the language of choice from this side too.
I suggest also adding
gradlew/gradlew.bat
and wrapper files into_template
as well.