Gradle Effective Implementation Guide

Hubert Klein Ikkink

  • 出版商: Packt Publishing
  • 出版日期: 2012-10-22
  • 售價: $1,970
  • 貴賓價: 9.5$1,872
  • 語言: 英文
  • 頁數: 382
  • 裝訂: Paperback
  • ISBN: 1849518106
  • ISBN-13: 9781849518109
  • 相關分類: Java 相關技術
  • 海外代購書籍(需單獨結帳)

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

相關主題

商品描述

A must-read for Java developers, this book will bring you bang up to date in the techniques of build automation using Gradle. A fully hands-on approach makes learning natural and entertaining.

  • Learn the best of Gradle
  • Work easily with multi-projects.
  • Apply Gradle to your Java, Scala and Groovy projects.

In Detail

Gradle is the next generation in build automation. It uses convention-over-configuration to provide good defaults, but is also flexible enough to be usable in every situation you encounter in daily development. Build logic is described with a powerful DSL and empowers developers to create reusable and maintainable build logic.

"Gradle Effective Implementation Guide" is a great introduction and reference for using Gradle. The Gradle build language is explained with hands on code and practical applications. You learn how to apply Gradle in your Java, Scala or Groovy projects, integrate with your favorite IDE and how to integrate with well-known continuous integration servers..

Start with the foundations and work your way through hands on examples to build your knowledge of Gradle to skyscraper heights. You will quickly learn the basics of Gradle, how to write tasks, work with files and how to use write build scripts using the Groovy DSL. Then as you develop you will be shown how to use Gradle for Java projects. Compile, package, test and deploy your applications with ease. When you've mastered the simple, move on to the sublime and integrate your code with continuous integration servers and IDEs. By the end of the "Gradle Effective Implementation Guide" you will be able to use Gradle in your daily development. Writing tasks, applying plugins and creating build logic will be second nature.

What you will learn from this book

  • Create Gradle build scripts from clear examples
  • Write build logic with the Gradle build language
  • Compile, test and check your Java, Scala and Groovy applications
  • Write your own custom tasks and plugins
  • Use Gradle on continous integrations servers Jenkins, TeamCity and Bamboo
  • Integrate Gradle with Eclipse and IntelliJ IDEA

Approach

Written in Packt's tutorial format the hands on examples and real life applications that will guide you through Gradle and give you the knowledge to use it every day.

Who this book is written for

If you are a Java developer who wants to automate compiling, packaging and deploying your application this book is for you..

商品描述(中文翻譯)

這本書是Java開發人員必讀的,它將帶領您了解使用Gradle進行建置自動化的技巧。全面的實踐方法使學習變得自然而有趣。

學習Gradle的最佳方法
輕鬆處理多個專案
將Gradle應用於您的Java、Scala和Groovy專案

詳細內容
Gradle是下一代的建置自動化工具。它使用慣例優於配置來提供良好的預設值,但同時也足夠靈活,可在日常開發中遇到的任何情況下使用。使用強大的DSL描述建置邏輯,使開發人員能夠創建可重用且易於維護的建置邏輯。

《Gradle Effective Implementation Guide》是使用Gradle的一本很好的入門和參考書籍。本書通過實際應用和代碼示例來解釋Gradle建置語言。您將學習如何在Java、Scala或Groovy專案中應用Gradle,與您喜愛的IDE集成,以及如何與著名的持續集成服務器集成。

從基礎知識開始,通過實際示例逐步建立對Gradle的了解,使您的知識達到高度。您將迅速學習Gradle的基礎知識,如何編寫任務,處理文件,以及如何使用Groovy DSL編寫建置腳本。然後,隨著您的發展,您將學習如何在Java專案中使用Gradle。輕鬆編譯、打包、測試和部署應用程序。當您掌握了基礎知識後,可以進一步將代碼與持續集成服務器和IDE集成。通過《Gradle Effective Implementation Guide》的學習,您將能夠在日常開發中使用Gradle。撰寫任務、應用插件和創建建置邏輯將成為您的第二天性。

從本書中您將學到:
從清晰的示例中創建Gradle建置腳本
使用Gradle建置語言編寫建置邏輯
編譯、測試和檢查Java、Scala和Groovy應用程序
編寫自己的自定義任務和插件
在持續集成服務器Jenkins、TeamCity和Bamboo上使用Gradle
將Gradle與Eclipse和IntelliJ IDEA集成

這本書的寫作方式是以Packt的教學格式,通過實際示例和實際應用來引導您學習Gradle,並為您提供每天使用它的知識。

本書的讀者對象:
如果您是一位Java開發人員,希望自動編譯、打包和部署應用程序,那麼這本書就是為您而寫的。