gpt4 book ai didi

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

转载 作者:行者123 更新时间:2023-12-03 05:06:08 24 4
gpt4 key购买 nike

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

我看到向导:

wizard1

但没有gradle-kotlin-dsl选项:

wizard2

我是Eclipse的new,但同时安装了Gradle和Kotlin插件。但是,我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.

关于eclipse - 如何使用Gradle Kotlin DSL创建Eclipse项目?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58350698/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com