万本电子书0元读

万本电子书0元读

顶部广告

Gradle Dependency Management电子书

售       价:¥

8人正在读 | 0人评论 9.8

作       者:Hubert Klein Ikkink

出  版  社:Packt Publishing

出版时间:2015-06-17

字       数:64.2万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
If you work on Java projects, use Gradle as a build automation tool, and you use dependencies in your project, this is the book for you. Additionally, if you want to deploy your project artifacts as dependencies for other developers using Gradle, you've found the right book.
目录展开

Gradle Dependency Management

Table of Contents

Gradle Dependency Management

Credits

About the Author

About the Reviewers

www.PacktPub.com

Support files, eBooks, discount offers, and more

Why subscribe?

Free access for Packt account holders

Preface

What this book covers

What you need for this book

Who this book is for

Conventions

Reader feedback

Customer support

Downloading the example code

Downloading the color images of this book

Errata

Piracy

Questions

1. Defining Dependencies

Declaring dependency configurations

Declaring dependencies

External module dependencies

Defining client module dependencies

Using project dependencies

Defining file dependencies

Using internal Gradle and Groovy dependencies

Using dynamic versions

Getting information about dependencies

Accessing dependencies

Buildscript dependencies

Optional Ant task dependencies

Managing dependencies

Summary

2. Working with Repositories

Declaring repositories

Using the Maven JCenter repository

Using the Maven Central repository

Using the Maven local repository

Using Maven repositories

Using the flat directory repository

Using Ivy repositories

Using different protocols

Summary

3. Resolving Dependencies

Understanding dependency resolution

Configuring transitive dependencies

Disabling transitive dependencies

Excluding transitive dependencies

Using artifact-only dependencies

Resolving version conflicts

Using the newest version

Failing on version conflict

Forcing a version

Customizing dependency resolution rules

Using client modules

Using dynamic versions and changing modules

Understanding the dependency cache

Command-line options for caching

Changing cache expiration

Summary

4. Publishing Artifacts

Defining artifact configurations

Defining artifacts

Using the archive task

Using artifact files

Creating artifacts

Publishing artifacts to the local directory

Excluding the descriptor file

Signing artifacts

Using configurations to sign

Using archive tasks to sign

Summary

5. Publishing to a Maven Repository

Defining publication

Defining publication artifacts

Using archive task artifacts

Using file artifacts

Using software components

Generating POM files

Customizing the POM file

Defining repositories

Publishing to the local Maven repository

Publishing to the Maven repository

Publishing to Artifactory

Publishing to Nexus

Summary

6. Publishing to Bintray

What is Bintray?

Defining a new repository

Defining the Bintray plugin

Deploying publications to Bintray

Configuring the Bintray plugin

Summary

7. Publishing to an Ivy Repository

Defining publications

Defining publication artifacts

Using archive task artifacts

Using file artifacts

Using software components

Generating Ivy descriptor files

Customizing the descriptor file

Defining repositories

Publishing to a local directory

Publishing to Artifactory

Publishing to Nexus

Summary

Index

累计评论(0条) 0个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部