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

要评论图书请先登录注册

你也许想看:

卓越程序员密码

《卓越程序员密码》

[美] Ka Wai Cheung.人民邮电出版社.2012-11-3

“内容简介: 本书讲的不是你写的代码,而是你赖以生存的密码。 软件开发行业的从业人员成千上万,你如何保证自己出色地完成自己...”

Practical Android Projects

《Practical Android Projects》

Lucas Jordan,Pieter Greyling.Apress.2011-2-22

“Ask yourself...how do you learn best? Well, like most progra...”

Java程序设计语言

《Java程序设计语言》

[美] Ken Arnold, James Gosling, David Holmes.人民邮电出版社.2006-11

“《Java 程序设计语言(第4版)》主要讲授Java程序设计语言,系统地介绍Java的主要包(即java.lang.*、...”

The Nature of Software Development

《The Nature of Software Development》

Ron Jeffries.Pragmatic Bookshelf.2015-3-1

“”

LINQ实战

《LINQ实战》

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

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

数据存储技术与实践

《数据存储技术与实践》

查伟.清华大学出版社.2016-8-1

“"本书试图以时间轴的方式描述自20 世纪50 年代IBM 的第一个硬盘出现以来,整个存储工业及技术的演进。本书内容聚焦于...”

Appcelerator Titanium Smartphone App Development Cookbook

《Appcelerator Titanium Smartphone App Development Cookbook》

Boydlee Pollentine.Packt Publishing.2011-12

“Appcelerator Titanium Mobile allows developers to realize th...”

Java夜未眠

《Java夜未眠》

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

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

Text Processing in Python

《Text Processing in Python》

David Mertz.Addison-Wesley Professional.2003-6-12

“Text Processing in Python describes techniques for manipulat...”

Java网络编程(中文版 第三版)(O'Reilly Java系列)

《Java网络编程(中文版 第三版)(O'Reilly Java系列)》

(美)Elliotte Rusty Harold.中国电力出版社.2005-11-22

“《Java网络编程》第三版会为你介绍Java网络API的最新特性。本书讨论了JDK 1.4和1.5(现在已命名为J2SE...”

Pro Python

《Pro Python》

Marty Alchin.Apress.2010-06-15

“You've learned the basics of Python, but how do you take you...”

Beginning Android 3

《Beginning Android 3》

Mark Murphy.Apress.2011-4-29

“The vibrant and rich Android development platform, created b...”

面向对象葵花宝典:思想、技巧与实践

《面向对象葵花宝典:思想、技巧与实践》

.电子工业出版社.2015-12

“《面向对象葵花宝典:思想、技巧与实践》系统地讲述了面向对象技术的相关内容,包括面向对象的基本概念、面向对象开发的流程、面...”

C程序设计语言

《C程序设计语言》

Clovis L.Tondo,SCOTT E.GIMPEL.机械工业出版社.2004-1-1

“本书对Brain W. Kernighan和Dennis M. Ritchie所著的《The C Programming...”

软件工程的事实与谬误

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

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

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

iPad Programming

《iPad Programming》

Daniel H Steinberg,Eric Freeman.Pragmatic Bookshelf.2010-10-17

“Hold an iPad in your hands and you'll know what the fuss is ...”

Python Pocket Reference

《Python Pocket Reference》

Mark Lutz.O'Reilly Media.2009-10-15

“This fourth edition of "Python Pocket Reference" has been th...”

Windows高级调试

《Windows高级调试》

Mario Hewardt,Daniel Pravat.机械工业出版社.2009-5

“本书主要讲解Windows高级调试思想和工具,并涉及一些高级调试主题。本书内容主要包括:工具简介、调试器简介、调试器揭密...”

The C++ Standard Library Extensions

《The C++ Standard Library Extensions》

Pete Becker.Addison-Wesley Professional.2006-7-31

“"TR1 roughly doubles the size of the C++ standard library, a...”

黑客编程入门3

《黑客编程入门3》

张博.黑龙江文化电子音像出版社.2009

“Delphi编写黑客工具的书”