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