Why Can You Write Gradle in 2 Different Languages?

preview_player
Показать описание
When you start a new Gradle project you can choose either a Groovy or Kotlin build script. It can be confusing for developers like us. So let’s explore why Gradle added Kotlin support in the first place, and what are the pros and cons compared to Groovy.

▶️ Watch me next
Рекомендации по теме
Комментарии
Автор

Disclaimer: I am a huge Groovy fan...
Gradle is a train wreck - it is not Groovy, hence the .gradle extension - it is a DSL. You could force the same strictness and avoid the Java boiler plait code.
Choose dynamic build scripts in Groovy or go the Java way - Kotlin is an awkward in betweener

dauerc
Автор

Thanks. Your videos are amazing, short and clear!

nqbtlmd
Автор

And maybe Kotlin will become the default JVM language😂

flatmapper
Автор

Gradle build is very disturbing. Just folder and folder and folder so on

InsureInvest