Is there a Gradle plugin for Eclipse Luna?

一笑奈何 提交于 2019-11-28 12:02:16

The plugin you are using is wrong. There is an update for Luna here.

You can alternatively install the plugin directly within eclipse with this integration link.

Gradleware now offers direct support for the Eclipse IDE. See http://www.vogella.com/tutorials/EclipseGradle/article.html for an introduction.

In addition to plugin memtioned by @Campiador. You must have supported project nature in your eclipse's .project file in order for your project to show up in "Gradle Tasks" view.

See following example:

Add one or more natures in build.gradle file:

eclipse.project {
  natures 'org.springsource.ide.eclipse.gradle.core.nature', 'org.eclipse.jdt.core.javanature'
}

After this change, just run gradle eclipse command from your shell/command prompt. Newly generated .project will have proper natures in it. Just refresh your project in eclipse and now you will see your project in Gradle Tasks view.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!