👇 click thumbnail to watch video
How do the Kotlin DSL and the Groovy DSL work and what are the major differences between them?
This sample is best explored in IntelliJ IDEA.
Open 24_Kotlin_DSL_and_Groovy_DSL/my-project
in IDEA and confirm with Trust Project.
You can switch between the
Kotlin variant
and
Groovy variant
of this and all other examples by switching between
the main
and
the groovy-dsl
branch of this repository.
Each video only scratches the surfaces of the features shown. This is on purpose to give you a general understanding of how things work in Gradle. This understanding enables you to structure your project in a readable and maintainable way.
More details on each feature covered in this video can be found in the Gradle User Manual. The Manual, however, is very detailed on all kinds of topics and also contains information on legacy features (it's not always clear which these are).
To help you find the right places, here are some deep links into the Manual on the topics discussed in the video:
Contact me, if you need help with Gradle: onepiece.Software.