售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
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
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜