将现有的Gradle Git项目导入Eclipse [英] Import existing Gradle Git project into Eclipse

查看:147
本文介绍了将现有的Gradle Git项目导入Eclipse的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我从这里安装了eclipse gradle插件

I've installed eclipse gradle plugin from here

http://kaczanowscy.pl/tomek/2010-03/gradle-ide-integration-eclipse-plugin

是有一个简单的方法导入到eclipse的毕业项目使用gui,不做东西

Is there a simple way to import into eclipse gradle project using gui, not doing stuff

这里描述: http://gradle.org/docs/current/userguide/eclipse_plugin.html

推荐答案

通常这是一个简单的添加应用插件:eclipse在你的 build.gradle 并运行

Usually it is a simple as adding apply plugin: "eclipse" in your build.gradle and running

cd myProject/
gradle eclipse

然后刷新您的Eclipse项目。

and then refreshing your Eclipse project.

偶尔,您需要调整 build.gradle 以一些非常具体的方式生成Eclipse设置。

Occasionally you'll need to adjust build.gradle to generate Eclipse settings in some very specific way.

有<一个href =http://static.springsource.org/sts/docs/2.7.0.M1/reference/html/gradle/gradle-sts-tutorial.html>对Eclipse的gradle支持如果您正在使用STS,但我不知道这是多么好。

There is gradle support for Eclipse if you are using STS, but I'm not sure how good it is.

我知道的唯一一个对毕业生有好的本地支持的IDE是 IntelliJ IDEA 。它可以从GUI进行毕业项目的全面导入。有一个免费的社区版,你可以尝试。

The only IDE I know that has decent native support for gradle is IntelliJ IDEA. It can do full import of gradle projects from GUI. There is a free Community Edition that you can try.

这篇关于将现有的Gradle Git项目导入Eclipse的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆