从Eclipse启动Gradle构建 [英] Launching Gradle builds from Eclipse

查看:106
本文介绍了从Eclipse启动Gradle构建的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在考虑将我们的Ant版本转换为Gradle。



关于与Eclipse的集成,我们正在寻找(从概念上讲)从IDE启动构建的等效功能。 Eclipse提供了一个很好的Ant视图来调用Ant对象。



有一个用于启动Gradle构建的Eclipse插件(http://www.breskeby.com/downloads/gradle/ eclipse / update /),但这似乎需要用户跳过环来调用不同的目标(编辑启动配置等)。



其他人如何使用Gradle从Eclipse里面?

解决方案

简单的答案是我们不从Eclipse调用gradle脚本。



我相信这个网站概述了这个工作目前在哪里,现在似乎没有太多的东西。



我有点好奇你有什么样的任务想从Eclipse运行。为什么不从命令行运行任务?


We're looking at converting our Ant build to Gradle.

In regards to integration with Eclipse, we are looking for (conceptually) equivalent functionality for launching builds from the IDE. Eclipse provides a nice Ant view for invoking Ant targets.

There is an Eclipse plugin for launching Gradle builds (http://www.breskeby.com/downloads/gradle/eclipse/update/), but this seems to require users to jump through hoops to invoke different targets (edit the launch configuration, etc.).

How are others using Gradle from inside Eclipse?

解决方案

The short answer is that we do not invoke gradle scripts from Eclipse.

I believe this site outlines where this work is at the moment and it does not seem to be much right now.

I am a bit curious what kind of tasks you want to run from Eclipse. Why not run tasks from the command line?

这篇关于从Eclipse启动Gradle构建的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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