Gradle dependency management : learn how to use Gradle's powerful dependency management through extensive code samples, and discover how to define, customize, and deploy dependencies /
Gradle is the next generation in build automation. This book will teach you how to use its powerful dependency management through extensive code samples, and discover how to define, customize, and deploy dependencies. You will learn how to define dependencies in Java projects; publish artifacts to M...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Birmingham, UK :
Packt Publishing,
2015.
|
Colección: | Community experience distilled.
|
Temas: | |
Acceso en línea: | Texto completo (Requiere registro previo con correo institucional) |
Tabla de Contenidos:
- Cover
- Copyright
- Credits
- About the Author
- About the Reviewers
- www.PacktPub.com
- Table of Contents
- Preface
- Chapter 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
- Chapter 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
- Chapter 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
- Chapter 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
- Chapter 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
- Chapter 6: Publishing to Bintray
- What is Bintray?
- Defining a new repository
- Defining the Bintray plugin
- Publishing to Bintray
- Configuring the Bintray plugin
- Summary
- Chapter 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.