1       使用Maven 或 Gradle构建groovy

1.1  使用maven构建groovy

pom.xml file.

<dependencies>
    ... other dependencies
  <dependency>
    <groupId>org.codehaus.groovy</groupId>
    <artifactId>groovy-all</artifactId>
    <version>2.4.5</version>
  </dependency>
</dependencies> 

1.2  使用Gradle构建groovy

To use Groovy code in your Gradle build, simply add the following dependency to your pom.xml file.

apply plugin: 'groovy'
 
repositories {
    mavenCentral()
}
 
dependencies {
    compile 'org.codehaus.groovy:groovy-all:2.4.5'
} 

最新文章

  1. 【原创】JEECMS v6~v7任意文件上传漏洞(1)
  2. 使用log4net 日志输出到数据库MySQL
  3. 《理解 ES6》阅读整理:函数(Functions)(六)Purpose of Functions
  4. IOS证书的申请和使用
  5. python简介与基本操作
  6. spring + hibernate 添加用户
  7. 【安富莱专题教程第7期】终极调试组件Event Recorder,各种Link通吃,支持时间和功耗测量,printf打印,RTX5及中间件调试
  8. c/c++ linux 进程间通信系列7,使用pthread mutex
  9. 2017-2018-2 『网络对抗技术』Exp1:PC平台逆向破解 20165335
  10. Hive:map字段存储和取用 ( str_to_map函数 )
  11. THINKphp中常见的Request请求类
  12. 初入react-redux (基于webpack babel的react应用框架)
  13. JAVA中的System.in
  14. SpringMVC 常用applicationContext.xml、web.xml、servlet-mvc.xml简单配置
  15. 898 C. Phone Numbers
  16. Vue 入门之数据绑定
  17. Qt——线程与定时器
  18. System.Reflection 获取描述
  19. 将Maven2项目转为MyEclipse项目
  20. iOS子线程操作检测版本更新,有新版本通知用户更新, CheckVersion

热门文章

  1. C++中如何计算程序运行的时间 (转载)
  2. Bestcoder round 18----B题(一元三次方程确定区间的最大值(包含极值比较))
  3. LightOJ - 1030 Discovering Gold —— 期望
  4. Vue表格数据增删改查及搜索
  5. blog.codedream.ren
  6. uglifyjs2全局混淆
  7. git解决冲突方式
  8. Java并发实现线程阻塞原语LockSupport
  9. app基础
  10. ceph部署与问题