《Gradle Beyond the Basics》

《Gradle Beyond the Basics》 《Gradle Beyond the Basics》

  • 书名:《Gradle Beyond the Basics》:Customiziing Next-Generation Builds
  • 分类:编程
  • 作者:Tim Berglund
  • 出版社:O'Reilly Media
  • 出版年:2013-8-15
  • 售价:USD 24.99
  • 装订:Paperback
  • 页码:80

《Gradle Beyond the Basics》 内容介绍:

One of Gradle's special strengths is its ability to let you define your own build vocabulary, rather than imposing its design on you. Domain-specific languages are great tools for turning your build process from mysticism into something that the entire team can understand. The result is that your build and deployment process becomes more reliable and predictable.

《Gradle Beyond the Basics》 目录大纲:

1. File Operations. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Copy Task
Transforming Directory Structure Renaming Files During Copy
Filtering and Transforming Files Keyword Expansion
Filtering Line by Line Filtering File by File
The File Methods file()
1
1 3 3 4 4 6 8 9 9
files() 11
fileTree() 12 The FileCollection Interface 12 Converting to a Set 14 Converting to a Path String 14 Module Dependencies as FileCollections 15 Adding and Subtracting FileCollections 16 SourceSets as FileCollections 17 Lazy Files 18 Conclusion 19
2. Custom Plug-Ins. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Plug-In Philosophy 21 The Plug-In API 22 The Example Plug-In 22 Setup 23 Sketching Out Your Plug-In 24
Table of Contents
Preface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . v
iii
Custom Liquibase Tasks 24 Applying Yourself 25 Extensions 26
Packaging a Plug-In 31 Conclusion 33
3. Build Hooks. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
The Gradle Lifecycle: A Review 35 Advising the Build Graph 36 Advising Project Evaluation 36
Global Project Loading and Evaluation Hooks 38
Build Finished 39 Rules 41 Creating a Rule 42 Dealing with Imperative Rule Code 43 Generalizing Rules Beyond Tasks 45 Conclusion 46
4. Dependency Management. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
What Is Dependency Management? 47 Dependency Concepts 48 Configurations 49 Module Dependencies 51 Dynamic Versions 53 File Dependencies 53 Project Dependencies 54 Internal Dependencies 55 Repositories: Dependency Resolution 56 Maven Repositories 56 Ivy 59 Repository Credentials 60 Static Dependencies 61 Buildscript Dependencies 63 Dependency Caching 64 Configuring Resolution Strategy 66 Failing on Version Conflict 66 Forcing Versions 66 Cache Expiration 67 Conclusion 67
Afterword. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69


微信扫一扫关注公众号

0 个评论

要评论图书请先登录注册

你也许想看:

xUnit Test Patterns

《xUnit Test Patterns》

Gerard Meszaros.Addison-Wesley.2007-05-31

“Automated testing is a cornerstone of agile development. An ...”

Building Web Apps for Google TV

《Building Web Apps for Google TV》

Ferrate, Andres; Surya, Amanda; Lee, Daniels..2011-7

“By integrating the Web with traditional TV, Google TV offers...”

Object-Oriented Software Construction

《Object-Oriented Software Construction》

Bertrand Meyer.Prentice Hall.2000-03-21

“Contents Preface V Foreword To The Second Edition Xiii About...”

Version Control with Git

《Version Control with Git》

Jon Loeliger.O'Reilly Media.2009-6-11

“Version Control with Git takes you step-by-step through ways...”

iPhone应用程序开发名家解析

《iPhone应用程序开发名家解析》

..2010-7

“《iPhone应用程序开发名家解析》为专业的软件开发人员讲述了前沿的软件技术。《iPhone应用程序开发名家解析》的核心...”

Wxpython in Action

《Wxpython in Action》

Noel Rappin,Robin Dunn.Manning Publications.2006-3-1

“How to build a state-of-the-art GUI using the wxPython toolk...”

Getting started with IntelliJ IDEA

《Getting started with IntelliJ IDEA》

Hudson Orsine Assumpção.Packt Publishing.2013-10-17

“IntelliJ IDEA is a commercial Java development tool which co...”

SAP BW/BO实战指南

《SAP BW/BO实战指南》

张俊.机械工业.2012-4

“《SAP BW/BO实战指南:像学习Office一样学习BW/BO》主要介绍了SAP BW/BO两大商务智能产品,内容分...”

COM技术内幕-微软组件对象模型

《COM技术内幕-微软组件对象模型》

(美)Dale Rogerson.清华大学出版社.1999-1

“”

OpenGL 4.0 Shading Language Cookbook

《OpenGL 4.0 Shading Language Cookbook》

David Wolff.Packt Publishing.2011-7-9

“”

Windows环境下32位汇编语言程序设计

《Windows环境下32位汇编语言程序设计》

罗云彬.电子工业出版社.2003.3

“Windows环境下32位汇编语言是一种全新的编程语言。它使用与C++语言相同的API接口,不仅可以用来开发出大型的软件...”

我的第一本C++书

《我的第一本C++书》

陈良乔.华中科技大学出版社.2011-5-5

“每一个渴望学习C++语言的初学者都希望能够有一本全面的,实用的,同时又是生动有趣的入门书。这本入门书可以告诉这些初学者,...”

ASP.NET MVC 5 高级编程

《ASP.NET MVC 5 高级编程》

Jon Galloway,Brad Wilson,K. Scott Allen,David Matson.清华大学出版社.2015-2-1

“使用MVC 5创建动态的、数据驱动的网站 作为Microsoft备受欢迎的MVC技术的最新版本,MVC 5是一个成熟的W...”

Spring Batch 批处理框架

《Spring Batch 批处理框架》

刘相.电子工业出版社.2015-2

“本书全面、系统地介绍了批处理框架Spring Batch,通过详尽的实战示例向读者展示了Spring Batch框架对大...”

LINQ实战

《LINQ实战》

Fabrice Marguerie,Steve Eichert,Jim Wooley.人民邮电出版社.2009-07

“LINQ是微软.NET软件开发平台上的一项突破性创新技术,它在面向对象语言与各种数据源之间架设了一座高效的桥梁,大大降低...”

Third-Party JavaScript

《Third-Party JavaScript》

Ben Vinegar,Anton Kovalyov.Manning Publications Co..2012-8

“Third-party JavaScript applications are self-contained compo...”

Pro Android 4

《Pro Android 4》

Satya Komatineni,Dave MacLean.Apress.2012-3-7

“Pro Android 4 shows you how to build real-world and fun mobi...”

Web Scraping with Python

《Web Scraping with Python》

Ryan Mitchell.O'Reilly Media.2015-7-24

“”

轻量级Web应用开发

《轻量级Web应用开发》

邱俊涛.人民邮电出版社.2015-7-1

“轻量级开发是一个很宽泛的主题,开发人员经常提到这个术语,但却少有人能够讲明它的内涵。本书介绍了轻量级Web应用开发背后的...”

PaaS实现与运维管理

《PaaS实现与运维管理》

余何.电子工业出版社.2016-2-1

“《PaaS实现与运维管理:基于Mesos +Docker+ELK的实战指南》主要阐述了云计算中PaaS平台的实现与运维管...”