Gradle Essentials Paperback – January 6, 2016
暫譯: Gradle 基礎精要 平裝本 – 2016年1月6日
Kunal Dabir, Abhinandan
- 出版商: Packt Publishing
- 出版日期: 2015-12-23
- 售價: $1,450
- 貴賓價: 9.5 折 $1,378
- 語言: 英文
- 頁數: 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
本書適合誰閱讀
本書適合希望使用 Gradle 或已經在專案中使用 Gradle 的 Java 及其他基於 JVM 的語言開發者。
不需要具備 Gradle 的先前知識,但對於建置相關術語的熟悉以及對 Java 語言的理解會有所幫助。
您將學到什麼
- 透過識別基本構件,掌握 Gradle DSL
- 學習足夠的 Groovy 以便於 Gradle 使用
- 為您的專案設置測試和報告,使其準備好持續集成(CI)
- 創建庫、獨立和網頁專案
- 快速有效地製作多模組專案
- 將現有專案遷移到現代的 Gradle 建置
- 將共通的建置邏輯提取到插件中
- 為 Java、Groovy 和 Scala 等語言撰寫建置
詳細內容
Gradle 是一個先進且現代的建置自動化工具。它繼承了上一代建置工具的最佳元素,但也有所不同並創新,帶來簡潔、優雅、簡單和靈活的建置方式。
從安裝 Gradle 和撰寫您的第一個建置檔案開始,到創建一個完整的多模組專案建置,本書將以逐步的方式引導您了解各個主題。
您將親自操作一個使用 Gradle 建立的簡單 Java 專案,並進一步構建使用 Jetty 或 Tomcat 運行的網頁應用程式。我們採取獨特的方法來解釋 DSL,使用 Gradle API,使 DSL 更加易於理解和直觀。
總的來說,本書是一本簡明的指南,幫助您解讀 Gradle 建置檔案,涵蓋在真實世界專案中最有用的基本主題。每一章節,您將學習一個新主題,並能夠輕鬆實施您的建置檔案。
風格與方法
這本逐步指南專注於每一章的生產力。在必要時,主題會深入解釋,以便為您提供 Gradle 基本原理的良好基礎。本書涵蓋了傳統基於 JVM 的專案所需的建置大多數方面,並在必要時指引您找到正確的資源。