《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 个评论

要评论图书请先登录注册

你也许想看:

Gradle Beyond the Basics

《Gradle Beyond the Basics》

Tim Berglund.O'Reilly Media.2013-8-15

“One of Gradle's special strengths is its ability to let you ...”

Java夜未眠

《Java夜未眠》

蔡学镛.电子工业出版社.2003-4

“本书是一本散文集。作为一名资深程序设计师,作者走笔清新面独特,简练俏皮的文字下,是作者对工作,对人生的理性思考。书中收录...”

Windows并发编程指南

《Windows并发编程指南》

杜飞.机械工业出版社.2010-1

“《Windows并发编程指南》详细讲述Windows并发编程的相关知识。内容分为四个部分:第一部分“概念”从高层视角介绍...”

深入理解LINUX网络内幕

《深入理解LINUX网络内幕》

Christian Benvenuti.东南大学出版社.2006-5

“本书系统地阐述了网络的基本概念,并指导你如何用C语言实现。同时描述了Linux网络的全貌,解释了Linux代码是如何工作...”

Concurrent Programming in Mac OS X and iOS

《Concurrent Programming in Mac OS X and iOS》

Vandad Nahavandipoor.O'Reilly Media.2011-6-7

“Now that multicore processors are coming to mobile devices, ...”

Getting Started with Windows 8 Apps

《Getting Started with Windows 8 Apps》

Ben Dewey.O'Reilly Media.2012-8-10

“Get a head start on creating "Metro"-style apps for the appr...”

PaaS实现与运维管理

《PaaS实现与运维管理》

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

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

C++语言99个常见编程错误

《C++语言99个常见编程错误》

Stephen C. Dewhurst.清华大学出版社.2009

“本书是C++语言大师Stephen C. Dewhurst在多年教授C++课程中所遇到的常见错误的心得笔记之基础上编写而...”

Writing GNU Emacs Extensions

《Writing GNU Emacs Extensions》

Bob Glickstein.O'Reilly.01 April, 1997

“”

C++ Primer(第4版)习题解答

《C++ Primer(第4版)习题解答》

蒋爱军、李师贤、梅晓勇编.人民邮电出版社.2007-2

“《C++ Primer习题解答》为C++ Primer(第4版)的配套书籍,根据C++ Primer(第4版)中所介绍的...”

Erlang/OTP并发编程实战

《Erlang/OTP并发编程实战》

[美] Martin Logan,[美] Eric Merritt,[瑞典] Richard Carlsson.人民邮电出版社.2012-7-12

“内容简介: 通过提高CPU时钟频率来制造更快的单核芯片的技术已经到达了极限。多核、并发、分布式等概念和技术也随之走出象牙...”

iOS Drawing

《iOS Drawing》

.Addison-Wesley Professional.2013-10

“Covers iOS 7 and Xcode 5 Apple lavished iOS with a rich and ...”

Oracle优化日记

《Oracle优化日记》

白鳝.人民邮电出版社.2010-7

“本书是一本介绍Oracle数据库优化方法的书,以一个实际的大型优化项目为原型,用日记的形式记录了一个优化小组的DBA 如...”

软件工程的事实与谬误

《软件工程的事实与谬误》

[美] Robert L. Glass.中国电力出版社.2006-1

“关于构建软件,我们理应知道许多东西,但是实际上却因为这样或那样的原因不知道,甚至我们想当然的一些看法实际上是显而易见的错...”

SAP BW/BO实战指南

《SAP BW/BO实战指南》

张俊.机械工业.2012-4

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

Objective-C 2.0程序设计

《Objective-C 2.0程序设计》

Stephen G. Kochan.机械工业出版社.2009年9月

“本书是Objective-C领域的经典著作,对Objective-C进行了系统而全面的阐述,权威性毋庸置疑。全书共分为四...”

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...”

Successful Lisp

《Successful Lisp》

David B. Lamkins.bookfix.com.2004-12-8

“”

Scala in Action

《Scala in Action》

Nilanjan Raychaudhuri.Manning Publications.2013-4-13

“DESCRIPTION Even within a single application, programming pr...”

MATLAB Demystified

《MATLAB Demystified》

David McMahon.McGraw-Hill Professional.2007-04-06

“Need to Learn MATLAB? Problem SOLVED! Get started using MATL...”