Skip to content
serhij.zolotukhin edited this page Dec 24, 2025 · 2 revisions

======================================================================================================================= groovy vs kotlin

kotlin

pros:
    Kotlin is a statically-typed language with deep support in both IDEA and Eclipse.

        auto-completion and content assist
        refactoring
        quick documentation
        navigation to source
        refactoring

    Compile time checks

cons:
    There are some situations where the Kotlin DSL is slower.

groovy:

======================================================================================================================= Open question:

  1. And because Kotlin is rich with features like first-class functions and extension methods, it could retain and improve on the best parts of writing Gradle build scripts — including a clean, declarative syntax and the ability to craft DSLs with ease.

======================================================================================================================= URLs

https://dev.to/msfjarvis/why-i-went-back-to-the-gradle-groovy-dsl-4jf4 https://blog.gradle.org/kotlin-meets-gradle https://docs.gradle.org/current/userguide/migrating_from_groovy_to_kotlin_dsl.html https://tomgregory.com/5-reasons-to-switch-to-the-gradle-kotlin-dsl/

Commands

docker run -it --rm gradle-wrapper bash docker run -it --rm long-running-gradle bash

docker exec -it priceless_meninsky git pull docker exec -it priceless_meninsky gradle build -x test docker container stop priceless_meninsky

My side bar

Clone this wiki locally