Is there a Gradle plugin for Eclipse Luna?

前端 未结 3 1495
傲寒
傲寒 2020-12-11 02:17

I\'m trying to integrate Eclipse Luna with Gradle.

Eclipse Integration Gradle GitHub page includes instructions for Installing Gradle Tooli

相关标签:
3条回答
  • 2020-12-11 02:34

    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.

    0 讨论(0)
  • 2020-12-11 02:38

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

    0 讨论(0)
  • 2020-12-11 02:49

    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.

    0 讨论(0)
提交回复
热议问题