Buildr vs Gradle,利弊? [英] Buildr vs Gradle, pros and cons?

查看:319
本文介绍了Buildr vs Gradle,利弊?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人使用Buildr和Gradle,并可以比较这个构建工具。从第一眼看来,他们是非常相似的。但什么选择。此外,您也可以听到Scala支持和各种IDE集成(IDEA,NetBeans和Eclipse)。

Have somebody use both Buildr and Gradle and can make comparison of this build tools. From first look they are very similar. But what to choose. And also it is good to hear about Scala support and various IDE integration(IDEA, NetBeans, Eclipse).

谢谢。

推荐答案

我试过使用,两者,我一定会推荐Gradle。虽然他们都有几乎相同的表现力,我发现Gradle更稳定(自1.0版本),更少的安装,更好的文档。虽然Buildr无疑是一个伟大的努力,目前Gradle是更专业的。

I have tried using, both and I'd definitely recommend Gradle. While both of them have pretty much the same expressiveness, I found Gradle to be much more stable (since version 1.0), less effort to install, and better documented. Although Buildr is undoubtedly a great effort, at the moment Gradle is much more professionally made.

Gradle面临的唯一问题是缺乏本机支持重用ivy.xml (和ivysettings.xml),尽管事实上Gradle实际上使用Ivy作为其依赖引擎。这个功能在未来的某个时候已经被承诺了。 Buildr,另一方面有一个即时可用的插件(它不是很可配置,虽然)。

The only problem I faced with Gradle is lack of native support for reusing ivy.xml (and ivysettings.xml), despite the fact that Gradle actually uses Ivy as its dependency engine. This feature has been promised for sometime in the future soon. Buildr, on the other hand has a ready-to-use plugin for that (it's not very configurable though).

如果你需要从Maven迁移,我会做一些调查这两个工具和他们对您需要的功能的支持。对于新项目,我建议使用Gradle。

If you need to migrate from Maven, I'd do some investigation on both tools and their support for the features you need. For new projects I'd recommend Gradle.

对Eclipse没有很好的支持,但Gradle有一个正在进行的Eclipse插件,其工作方式非常类似于Ant插件。此外,Gradle的Eclipse设置文件的生成是高度可定制的,因此这是另一种将它与Eclipse集成的方法。

Neither have good support for Eclipse, but Gradle have a work-in-progress Eclipse plugin that works very much like the Ant plugin. Also, Gradle's generation of Eclipse settings files is highly customizable, so that's another way to integrate it with Eclipse.

这篇关于Buildr vs Gradle,利弊?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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