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
Preview in Mapt

Gradle Dependency Management

Hubert Klein Ikkink

Learn how to use Gradle's powerful dependency management through extensive code samples, and discover how to define, customize, and deploy dependencies

Quick links: > What will you learn?> Table of content

eBook
$16.80
RRP $23.99
Save 29%
Print + eBook
$29.99
RRP $29.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$16.80
$29.99
RRP $23.99
RRP $29.99
eBook
Print + eBook

Frequently bought together


Gradle Dependency Management Book Cover
Gradle Dependency Management
$ 23.99
$ 16.80
Gradle Effective Implementations Guide - Second Edition Book Cover
Gradle Effective Implementations Guide - Second Edition
$ 35.99
$ 25.20
Buy 2 for $34.30
Save $25.68
Add to Cart

Book Details

ISBN 139781784392789
Paperback188 pages

Book Description

Gradle is the next generation in build automation. It allows you to define dependencies for your project in a clear way and also customize how they are resolved to suit your needs. It offers fine-grained control over how to publish your artifacts to Maven and Ivy repositories.

Gradle Dependency Management defines dependencies for your Java-based project and customizes how they are resolved. You will learn how to configure the publication of artifacts to different repositories. Packed with plenty of code samples, you will understand how to define the repositories that contain dependencies. Following this, you will learn how to customize the dependency resolution process in Gradle.

Table of Contents

Chapter 1: Defining Dependencies
Declaring dependency configurations
Declaring dependencies
Using dynamic versions
Getting information about dependencies
Optional Ant task dependencies
Managing dependencies
Summary
Chapter 2: Working with Repositories
Declaring repositories
Using different protocols
Summary
Chapter 3: Resolving Dependencies
Understanding dependency resolution
Resolving version conflicts
Customizing dependency resolution rules
Using dynamic versions and changing modules
Understanding the dependency cache
Summary
Chapter 4: Publishing Artifacts
Defining artifact configurations
Defining artifacts
Creating artifacts
Publishing artifacts to the local directory
Signing artifacts
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
Defining repositories
Summary
Chapter 6: Publishing to Bintray
What is Bintray?
Defining the Bintray plugin
Deploying publications to Bintray
Configuring the Bintray plugin
Summary
Chapter 7: Publishing to an Ivy Repository
Defining publications
Defining publication artifacts
Using archive task artifacts
Generating Ivy descriptor files
Defining repositories
Summary

What You Will Learn

  • Define dependencies in your Java projects
  • Publish your artifacts to Maven and Ivy repositories
  • Configure transitive dependencies
  • Install your artifacts in Bintray
  • Customize the resolution of dependency rules
  • Use your own code as dependencies in a multimodule project
  • Configure repositories to resolve dependencies

Authors

Table of Contents

Chapter 1: Defining Dependencies
Declaring dependency configurations
Declaring dependencies
Using dynamic versions
Getting information about dependencies
Optional Ant task dependencies
Managing dependencies
Summary
Chapter 2: Working with Repositories
Declaring repositories
Using different protocols
Summary
Chapter 3: Resolving Dependencies
Understanding dependency resolution
Resolving version conflicts
Customizing dependency resolution rules
Using dynamic versions and changing modules
Understanding the dependency cache
Summary
Chapter 4: Publishing Artifacts
Defining artifact configurations
Defining artifacts
Creating artifacts
Publishing artifacts to the local directory
Signing artifacts
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
Defining repositories
Summary
Chapter 6: Publishing to Bintray
What is Bintray?
Defining the Bintray plugin
Deploying publications to Bintray
Configuring the Bintray plugin
Summary
Chapter 7: Publishing to an Ivy Repository
Defining publications
Defining publication artifacts
Using archive task artifacts
Generating Ivy descriptor files
Defining repositories
Summary

Book Details

ISBN 139781784392789
Paperback188 pages
Read More

Read More Reviews

Recommended for You

Gradle Effective Implementations Guide - Second Edition Book Cover
Gradle Effective Implementations Guide - Second Edition
$ 35.99
$ 25.20
Learning Selenium Testing Tools - Third Edition Book Cover
Learning Selenium Testing Tools - Third Edition
$ 26.99
$ 18.90
Groovy 2 Cookbook Book Cover
Groovy 2 Cookbook
$ 29.99
$ 21.00
Node.js Design Patterns - Second Edition Book Cover
Node.js Design Patterns - Second Edition
$ 39.99
$ 28.00
Modern JavaScript Applications Book Cover
Modern JavaScript Applications
$ 39.99
$ 28.00
Modular Programming with JavaScript Book Cover
Modular Programming with JavaScript
$ 35.99
$ 25.20