《Gradle Beyond the Basics》电子书下载

Gradle Beyond the Basicstxt,chm,pdf,epub,mobi下载
作者: Tim Berglund
出版社: O'Reilly Media
副标题: Customiziing Next-Generation Builds
出版年: 2013-8-15
页数: 80
定价: USD 24.99
装帧: Paperback
ISBN: 9781449304676

内容简介  · · · · · ·

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.





目录  · · · · · ·

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. 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
· · · · · · ()

下载地址

发布者:虚离风辰

文件说明:zip / 解压密码:yiquhai.com

迅雷下载:您需要先后,才能查看

网盘下载:您需要先后,才能查看

关于内容:内容自于互联网,如果发现有违规内容请联系管理员删除!

作者: 虚离风辰

该用户很懒,还没有介绍自己。

3 条评论

发表评论

  1. 关键我是你煊哥 关键我是你煊哥说道:
    1#

    好书.值得观看.更是值得收藏.

  2. 李埼玉 李埼玉说道:
    2#

    以后一直来!

  3. 老公和你生个女儿好不好 老公和你生个女儿好不好说道:
    3#

    让人叹为观止。

  4. 馬爾賈尼斯 馬爾賈尼斯说道:
    4#

    好评!有一本神奇的新书!

  5. 显示更多