-
Notifications
You must be signed in to change notification settings - Fork 58
Description
Note
Moved from libgdx/libgdx#7056
Synopsis
gdx-liftoff
generates libGDX projects that use Groovy DSL for its Gradle buildscripts. It'd be better to use Kotlin instead of Groovy.
Details
Since April 2024 (almost 2 years ago), Gradle recommends using Kotlin instead of Groovy for buildscripts.
Citing Gradle docs:
(Kotlin DSL) provides an alternative syntax to the traditional Groovy DSL with an enhanced editing experience in supported IDEs, with superior content assist, refactoring, documentation, and more.
I can only agree with the above – in my experience, using Kotlin DSL for Gradle makes it more pleasant and involves much less guesswork.
I think that letting users choose between Groovy DSL or Kotlin DSL can be a non-goal of this issue: Groovy is being slowly but steadily being phased out by Gradle. Offering just Kotlin DSL would be enough.