Gradle Beyond the Basics (Paperback)

Tim Berglund

  • 出版商: O'Reilly
  • 出版日期: 2013-09-10
  • 定價: $825
  • 售價: 6.0$495
  • 語言: 英文
  • 頁數: 80
  • 裝訂: Paperback
  • ISBN: 1449304672
  • ISBN-13: 9781449304676
  • 相關分類: Java 相關技術
  • 立即出貨 (庫存 < 4)

買這商品的人也買了...

相關主題

商品描述

If you’re familiar with Gradle’s basics elements—possibly through the author’s previous O’Reilly book, Building and Testing with Gradle—this more advanced guide provides the recipes, techniques, and syntax to help you master this build automation tool. With clear, concise explanations and lots of ready-to-use code examples, you’ll explore four discrete areas of Gradle functionality: file operations, custom Gradle plugins, build lifecycle hooks, and dependency management.

Learn how to use Gradle’s rich set of APIs and Groovy-based Domain Specific Language to customize build software that actually conforms to your product. By using the techniques in this book, you’ll be able to write domain-specific builds that support every other line of code your team creates.

  • Examine Gradle’s file API, including copy tasks, pattern matching, content filtering, and the FileCollection interface
  • Understand the process for building and packaging a custom Gradle plug-in
  • Manage build complexity with hook methods and Gradle’s rule feature
  • Learn how Gradle handles dependency management natively and through customization
  • Explore Gradle’s core plug-ins as well as key examples from the Gradle community

商品描述(中文翻譯)

如果您對Gradle的基本元素已經很熟悉,可能是通過作者之前的O'Reilly書籍《使用Gradle進行構建和測試》——這本更高級的指南將為您提供配方、技巧和語法,幫助您掌握這個構建自動化工具。通過清晰、簡潔的解釋和大量可用的代碼示例,您將探索Gradle功能的四個獨立領域:文件操作、自定義Gradle插件、構建生命周期鉤子和依賴管理。

學習如何使用Gradle豐富的API和基於Groovy的特定領域語言來定制構建軟件,使其真正符合您的產品。通過使用本書中的技巧,您將能夠編寫支持團隊創建的每一行代碼的特定領域構建。

- 檢查Gradle的文件API,包括複製任務、模式匹配、內容過濾和FileCollection接口
- 了解構建和打包自定義Gradle插件的過程
- 通過鉤子方法和Gradle的規則功能來管理構建複雜性
- 學習Gradle如何本地和通過定制處理依賴管理
- 探索Gradle的核心插件以及Gradle社區的關鍵示例