Gradle Essentials Paperback – January 6, 2016

Kunal Dabir, Abhinandan

  • 出版商: Packt Publishing
  • 出版日期: 2015-12-23
  • 售價: $1,440
  • 貴賓價: 9.5$1,368
  • 語言: 英文
  • 頁數: 176
  • 裝訂: Paperback
  • ISBN: 1783982365
  • ISBN-13: 9781783982363
  • 相關分類: Java 相關技術
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

Master the fundamentals of Gradle using real-world projects with this quick and easy-to-read guide

About This Book

  • Write beautiful build scripts for various types of projects effortlessly
  • Become more productive by harnessing the power and elegance of the Gradle DSL
  • Learn how to use Gradle quickly and effectively with this step-by-step guide

Who This Book Is For

This book is for Java and other JVM-based language developers who want to use Gradle or are already using Gradle on their projects.

No prior knowledge of Gradle is required, but some familiarity with build-related terminologies and an understanding of the Java language would help.

What You Will Learn

  • Master the Gradle DSL by identifying the building blocks
  • Learn just enough Groovy for Gradle
  • Set up tests and reports for your projects to make them CI ready
  • Create library, stand-alone, and web projects
  • Craft multi-module projects quickly and efficiently
  • Migrate existing projects to a modern Gradle build
  • Extract common build logic into plugins
  • Write builds for languages like Java, Groovy, and Scala

In Detail

Gradle is an advanced and modern build automation tool. It inherits the best elements of the past generation of build tools, but it also differs and innovates to bring terseness, elegance, simplicity, and the flexibility to build.

Right from installing Gradle and writing your first build file to creating a fully-fledged multi-module project build, this book will guide you through its topics in a step-by-step fashion.

You will get your hands dirty with a simple Java project built with Gradle and go on to build web applications that are run with Jetty or Tomcat. We take a unique approach towards explaining the DSL using the Gradle API, which makes the DSL more accessible and intuitive.

All in all, this book is a concise guide to help you decipher the Gradle build files, covering the essential topics that are most useful in real-world projects. With every chapter, you will learn a new topic and be able to readily implement your build files.

Style and approach

This step-by-step guide focuses on being productive with every chapter. When required, topics are explained in-depth to give you a good foundation of the Gradle fundamentals. The book covers most aspects of builds required for conventional JVM-based projects, and when necessary, points you towards the right resources.

商品描述(中文翻譯)

掌握Gradle的基礎知識,使用真實世界的專案,這本指南快速且易讀。

關於本書:
- 輕鬆編寫各種類型專案的優美建置腳本
- 透過掌握Gradle DSL的力量和優雅,提高工作效率
- 透過逐步指南,快速有效地學習使用Gradle

本書適合對Java和其他基於JVM的語言開發者,想要使用或已經在專案中使用Gradle的讀者。
不需要先備的Gradle知識,但對建置相關術語和Java語言有一定的熟悉程度會有幫助。

你將學到的內容:
- 透過識別建置模塊,掌握Gradle DSL
- 學習足夠的Groovy語言,以應用於Gradle
- 設定測試和報告,使專案適合持續整合
- 建立庫、獨立和網頁專案
- 快速高效地建立多模塊專案
- 將現有專案遷移到現代Gradle建置
- 將常見建置邏輯提取為插件
- 為Java、Groovy和Scala等語言編寫建置腳本

詳細內容:
Gradle是一個先進且現代的建置自動化工具。它繼承了過去一代建置工具的優點,同時也有所不同和創新,以實現簡潔、優雅、簡單和靈活的建置。

從安裝Gradle和撰寫第一個建置檔案,到建立完整的多模塊專案建置,本書將逐步引導您。

您將親自參與使用Gradle建置的簡單Java專案,並進一步建立使用Jetty或Tomcat運行的網頁應用程式。我們採用獨特的方法來解釋DSL,使用Gradle API,使DSL更易於理解和使用。

總而言之,本書是一本簡明指南,幫助您解讀Gradle建置檔案,涵蓋實際專案中最有用的基本主題。每一章都會學習一個新主題,並能立即實施您的建置檔案。

風格和方法:
這本逐步指南著重於每一章的生產力。必要時,將深入解釋主題,以便為Gradle的基礎打下良好基礎。本書涵蓋了常規基於JVM的專案所需的大部分建置方面,並在必要時指向正確的資源。