是否有任何 Gradle eclipse IDE 集成?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/8396949/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Is there any Gradle eclipse IDE integration?
提问by Cengiz
i'm looking for an eclipse ide integration for gradle.
I've installed the gradle editor from
http://www.breskeby.com/downloads/gradle/eclipse/update/
我正在为 gradle 寻找 eclipse ide 集成。我已经从http://www.breskeby.com/downloads/gradle/eclipse/update/安装了 gradle 编辑器
But this is far away from what i expect from an ide integration. It provides only some syntax highlighting. No auto completion, error mark, task list, etc.
但这与我对 ide 集成的期望相去甚远。它仅提供一些语法突出显示。没有自动完成、错误标记、任务列表等。
Is there any real ide integration for eclipse?
eclipse 是否有任何真正的 ide 集成?
采纳答案by David Resnick
The SpringSource Tool Suite includes Gradle support.
SpringSource 工具套件包括 Gradle 支持。
See http://static.springsource.org/sts/docs/2.7.0.M1/reference/html/gradle/faq.htmlfor some information, though it is a bit out-of-date. Better support was added in STS 2.8.0.
有关一些信息,请参阅http://static.springsource.org/sts/docs/2.7.0.M1/reference/html/gradle/faq.html,尽管它有点过时。在 STS 2.8.0 中添加了更好的支持。
http://www.springsource.com/landing/best-development-tool-enterprise-javafor downloading STS.
http://www.springsource.com/landing/best-development-tool-enterprise-java用于下载 STS。
You can install STS into your Eclipse installation and Gradle support along with it, if you don't want to start from the STS release.
如果您不想从 STS 版本开始,您可以将 STS 安装到您的 Eclipse 安装和 Gradle 支持中。
回答by mohamed.ibrahim
Looks like the STS team extracted the plugin into stand alone module https://github.com/SpringSource/eclipse-integration-gradle/
看起来 STS 团队将插件提取到独立模块 https://github.com/SpringSource/eclipse-integration-gradle/
回答by Paul Verest
Nodeclipse also has Gradle for Eclipsethat runs gradle. That lets use gradle with any project (Java, Maven, C++, Android)
Nodeclipse 还有运行 gradle 的Gradle for Eclipse。这让我们可以在任何项目(Java、Maven、C++、Android)中使用 gradle
There is also Minimalist Editorfor .gradle
files
也有最低限度的编辑器对.gradle
文件
This can be used where Pivotal (former SpringSource) Gradle IDEcan't be used yet.
这可以在Pivotal(以前的 SpringSource)Gradle IDE还不能使用的地方使用。
Both can be installed together via Gradle IDE Pack
两者都可以通过Gradle IDE Pack安装在一起
回答by vogella
The Buildship project from Gradleware provides great Eclipse integration. See https://github.com/eclipse/buildshipfor its homepage and http://www.vogella.com/tutorials/EclipseGradle/article.htmlfor an introduction.
Gradleware 的 Buildship 项目提供了很好的 Eclipse 集成。其主页见https://github.com/eclipse/buildship,介绍见http://www.vogella.com/tutorials/EclipseGradle/article.html。