Skip to Content
持續交付|使用Java
book

持續交付|使用Java

by Daniel Bryant, Abraham Marín-Pérez
July 2019
Intermediate to advanced
480 pages
9h 35m
Chinese
GoTop Information, Inc.
Content preview from 持續交付|使用Java
組建 Java app |
91
Maven Java 組建生態系統中具有影響力,但有一個新的社群認為 Maven 與組建程序
沒有彈性,而且過度主觀。因此,潛在的對手 Gradle 出現了,它不僅靈活得多,也沒那
麼繁瑣。
Gradle
Gradle
是一種開放原始碼組建自動化系統,它是根據 Apache Ant and Apache Maven
概念建立的,並且使用基於 Groovy 的領域特定語言(domain-specific languageDSL
來宣告專案組態,而不是 Apache Maven 使用的 XML 表單。Gradle 是專為可能成為大
規模的多專案(multiproject)組建而設計的,它可以聰明地判斷組建樹有哪些部分是最
新的,以支援漸增組建(incremental builds),因此每一個依賴這些部分的工作都不需要
重新執行。最初的外掛主要把重點放在 JavaGroovy Scala 開發與部署,但是它也準
備支援更多語言與專案工作流程。
Gradle Maven 對於如何組建專案有全然不同的看法。Gradle 是根據一個任務依賴關
係圖,由其中的任務進行工作。Maven 使用一個固定、線性階段的模型,你可以在上面
附加目標(負責工作的東西)。此外,進行遷移可能非常容易,因為 Gradle 遵循許多與
Maven 一樣的規範,也以相似的方式來管理依賴關係。
安裝
你可以從 Gradle 專案的安裝網頁下載它(
https://gradle.org/install/ ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

精實企業|高績效組織如何達成創新規模化

精實企業|高績效組織如何達成創新規模化

Jez Humble, Joanne Molesky, Barry O'Reilly
管理Kubernetes

管理Kubernetes

Brendan Burns, Craig Tracey
精通機器學習|使用Python

精通機器學習|使用Python

Sarah Guido, Andreas C. Mueller
数字化转型:企业破局的34 个锦囊

数字化转型:企业破局的34 个锦囊

Gary O’Brien, Xiao Guo, Mike Mason

Publisher Resources

ISBN: 9789865021740