Mastering Gradle

Mainak Mitra

  • 出版商: Packt Publishing
  • 出版日期: 2015-07-31
  • 售價: $1,970
  • 貴賓價: 9.5$1,872
  • 語言: 英文
  • 頁數: 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和Web應用程序等項目
- 逐步指南,幫助您使用Gradle構建和部署Android移動應用程序

本書適合對構建工具有一定經驗並希望成為構建工具專家的開發人員。基本的Gradle或其他構建工具知識是必要的。

您將學到什麼
- 使用Gradle創建和開發構建系統
- 了解Groovy的基礎知識和撰寫Gradle腳本的關鍵功能
- 探索Gradle的重要功能:任務管理、插件管理和依賴管理
- 介紹各種內置的Gradle插件,如Java、Scala、War、Ant、Maven等
- 掌握從Ant和Maven等構建工具遷移至Gradle的技巧
- 將Gradle與Jenkins和TeamCity等流行的持續集成工具集成

詳細內容
使用Gradle,您可以高效地構建自動化框架,並提供一些靈活的替代方案來定制構建邏輯。本書首先介紹了構建自動化的基礎知識以及Gradle在其中的應用。然後,它將幫助您瞭解Groovy的基礎知識,這是一種用於撰寫Gradle的腳本的腳本語言。在接下來的章節中,您將處理任務管理並學習如何將Ant任務集成到構建腳本中。此外,您還將學習依賴管理、插件管理及其在Gradle中的配置技巧。您還將親自體驗使用Gradle構建和測試項目。然後,您將開始涵蓋各種主題,例如與Jenkins和TeamCity的持續集成、遷移策略和部署,這將幫助您學習對敏捷軟件開發有用的概念。最後,您還將學習如何使用Android創建一個簡單的移動應用程序,並探索Gradle如何幫助您構建和測試該應用程序。