Mastering Gradle
暫譯: 精通 Gradle

Mainak Mitra

  • 出版商: Packt Publishing
  • 出版日期: 2015-07-31
  • 售價: $2,010
  • 貴賓價: 9.5$1,910
  • 語言: 英文
  • 頁數: 279
  • 裝訂: Paperback
  • ISBN: 1783981369
  • ISBN-13: 9781783981366
  • 相關分類: Java 相關技術
  • 海外代購書籍(需單獨結帳)

商品描述

Master the technique of developing, migrating, and building automation using Gradle

About This Book

  • Create new plugins to get customized features to suit your needs
  • Build projects like Java, Scala, and web applications using Gradle
  • A step-by-step guide that will help you to build and deploy Android mobile apps with Gradle

Who This Book Is For

If you are a developer with some experience in build tool and want to become an expert in build tool, then this book is for you. Basic knowledge of Gradle or any other build tool is essential.

What You Will Learn

  • Create and develop a build system with Gradle
  • Understand Groovy basics and key features to write Gradle scripts
  • Explore the important features of Gradle: task management, plugin management, and dependency management
  • Walkthrough various in-built Gradle plugins, such as Java, Scala, War, Ant, Maven, and many others
  • Master the migration techniques from build tools such as Ant and Maven into Gradle
  • Integrate Gradle with popular continuous integration tools such as Jenkins and TeamCity

In Detail

With Gradle, you can efficiently build automation framework along with some flexible alternatives to customized build logic. This book starts with sound basics about build automation and how Gradle fits into this automation. It then moves on to give you a good exposure on Groovy―a scripting language used to write Gradle―and helps you understand a key elements of Groovy programming language. In the following chapters, you will deal with task management and learn how to integrate Ant tasks into build scripts. Furthermore, you will learn dependency management, plugin management, and its configuration techniques in Gradle. You will also get hands-on with building and testing projects using Gradle. You will then begin to cover diverse topics, such as Continuous Integration with Jenkins and TeamCity, Migration strategies, and Deployment, which enables you to learn concepts useful for Agile software development. Finally, you will also learn how to create a simple mobile application using Android and explore how Gradle can help you to build and test the application.

商品描述(中文翻譯)

掌握使用 Gradle 開發、遷移和構建自動化的技術

關於本書
- 創建新的插件以獲得自定義功能以滿足您的需求
- 使用 Gradle 構建 Java、Scala 和網頁應用程式等專案
- 一步一步的指南,幫助您使用 Gradle 構建和部署 Android 行動應用程式

本書適合誰
如果您是一位具有一定建構工具經驗的開發人員,並希望成為建構工具的專家,那麼這本書適合您。對 Gradle 或任何其他建構工具的基本知識是必需的。

您將學到什麼
- 使用 Gradle 創建和開發建構系統
- 理解 Groovy 的基本概念和關鍵特性,以編寫 Gradle 腳本
- 探索 Gradle 的重要特性:任務管理、插件管理和依賴管理
- 逐步了解各種內建的 Gradle 插件,如 Java、Scala、War、Ant、Maven 等等
- 精通從 Ant 和 Maven 等建構工具遷移到 Gradle 的技術
- 將 Gradle 與流行的持續集成工具如 Jenkins 和 TeamCity 整合

詳細內容
使用 Gradle,您可以有效地構建自動化框架,並提供一些靈活的選擇來自定義建構邏輯。本書從建構自動化的基本概念開始,並介紹 Gradle 如何融入這一自動化過程。接著,您將獲得對 Groovy 的良好了解——這是一種用於編寫 Gradle 的腳本語言,並幫助您理解 Groovy 程式語言的關鍵元素。在接下來的章節中,您將處理任務管理,並學習如何將 Ant 任務整合到建構腳本中。此外,您將學習依賴管理、插件管理及其在 Gradle 中的配置技術。您還將親自操作,使用 Gradle 構建和測試專案。然後,您將開始涵蓋各種主題,如使用 Jenkins 和 TeamCity 的持續集成、遷移策略和部署,這使您能夠學習對敏捷軟體開發有用的概念。最後,您還將學習如何使用 Android 創建一個簡單的行動應用程式,並探索 Gradle 如何幫助您構建和測試該應用程式。