如何使用 Gradle Kotlin DSL 创建 Eclipse 项目?

How do I create an Eclipse project using the Gradle Kotlin DSL?

如何从 Eclipse 获得与使用 gradle init --type java-application --test-framework testng --dsl kotlin 从控制台获得相同的结果?

我看到了精灵:

但没有 gradle-kotlin-dsl 选项:

new to Eclipse, but have both Gradle and Kotlin plugins installed. However, I now看到这没什么用:

Kotlin DSL is fully supported in Intellij IDEA and Android Studio. Other IDEs, such as Eclipse or NetBeans, do not yet provide helpful tools for editing Gradle Kotlin DSL files, however, importing and working with Kotlin DSL-based builds work as usual.

鉴于 Eclipse 并不像我希望的那样完全支持 Kotlin DSL,我现在可能会尝试使用 IDEA。

Gradle Kotlin DSL 似乎目前受支持

Buildship issue #222 comment by Donát Csikós:

Not really. The existing Kotlin integration in Eclipse is simply too unstable to work with Gradle DSL. We'll coordinate with JetBrains how can we improve the situation. I'll close this issue for the time being and reopen when we have an update.