惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

AI
AI
O
OpenAI News
Engineering at Meta
Engineering at Meta
F
Fortinet All Blogs
Jina AI
Jina AI
D
Docker
N
News and Events Feed by Topic
TaoSecurity Blog
TaoSecurity Blog
雷峰网
雷峰网
V
V2EX
小众软件
小众软件
N
News | PayPal Newsroom
GbyAI
GbyAI
Recorded Future
Recorded Future
SecWiki News
SecWiki News
WordPress大学
WordPress大学
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
酷 壳 – CoolShell
酷 壳 – CoolShell
Security Latest
Security Latest
Google DeepMind News
Google DeepMind News
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
Hacker News: Ask HN
Hacker News: Ask HN
Project Zero
Project Zero
Cyberwarzone
Cyberwarzone
MyScale Blog
MyScale Blog
T
The Blog of Author Tim Ferriss
U
Unit 42
The Last Watchdog
The Last Watchdog
V
Visual Studio Blog
C
Cisco Blogs
T
Tor Project blog
Google Online Security Blog
Google Online Security Blog
I
InfoQ
Attack and Defense Labs
Attack and Defense Labs
Y
Y Combinator Blog
博客园 - 聂微东
L
LangChain Blog
Blog — PlanetScale
Blog — PlanetScale
Apple Machine Learning Research
Apple Machine Learning Research
S
Schneier on Security
S
Securelist
博客园_首页
W
WeLiveSecurity
P
Privacy International News Feed
S
SegmentFault 最新的问题
博客园 - 【当耐特】
L
LINUX DO - 热门话题
Latest news
Latest news
大猫的无限游戏
大猫的无限游戏
M
MIT News - Artificial intelligence

博客园 - MikeLi

ssh debug in C,Java,Python Linux install idea ubuntu耳机问题 一个好的计算机学习网站 正则表达式 gitee 设置 javac编译命令 git Ubuntu安装chrome浏览器 Linux安装配置JDK jdk 8 文档和API列表 netbeans11从源码构建安装教程 Maven国内镜像 Java IDE:NetBeans 如何输入EOF ubuntu截图与录屏 如何在Linux里寻找、安装和卸载软件包How to install and update software in Linux memory
「转」Java开发的构建工具
MikeLi · 2025-04-05 · via 博客园 - MikeLi

引自:https://www.cnblogs.com/yangwen0228/p/6534655.html

什么是构建工具呢?

最早期的时候,是单文件的项目,根本不需要构建工具,直接编译那个单文件就可以。当项目变大,变复杂,项目的文件越来越多,然后,出现第一个构建工具:Make,后来,其发展为GNU Make。但是,由于需求的不断涌现,项目不仅仅只需要编译,还需要测试、部署等各种任务,各种语言出现了各种各样的构建工具。
当前,JVM生态圈由三大构建工具所统治:

  • Ant
  • Maven
  • Gradle

3.3 Gradle#

Gradle属于结合以上两个的优点,它继承了Ant的灵活和Maven的生命周期管理,它最后被google作为了Android御用管理工具。它最大的区别是使用groovy语言作为配置文件格式,不用XML进行配置,使得脚本更加简洁。