Book description
Learn how to use Gradle's powerful dependency management through extensive code samples, and discover how to define, customize, and deploy dependencies
In Detail
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.
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
Table of contents
-
Gradle Dependency Management
- Table of Contents
- Gradle Dependency Management
- Credits
- About the Author
- About the Reviewers
- www.PacktPub.com
- Preface
- 1. Defining Dependencies
- 2. Working with Repositories
- 3. Resolving Dependencies
- 4. Publishing Artifacts
- 5. Publishing to a Maven Repository
- 6. Publishing to Bintray
- 7. Publishing to an Ivy Repository
- Index
Product information
- Title: Gradle Dependency Management
- Author(s):
- Release date: June 2015
- Publisher(s): Packt Publishing
- ISBN: 9781784392789
You might also like
book
Gradle Essentials
Master the fundamentals of Gradle using real-world projects with this quick and easy-to-read guide About This …
book
Gradle Beyond the Basics
If you’re familiar with Gradle’s basics elements—possibly through the author’s previous O’Reilly book, Building and Testing …
book
Building and Testing with Gradle
Build and test software written in Java and many other languages with Gradle, the open source …
book
Spring Boot 2 Recipes: A Problem-Solution Approach
Solve all your Spring Boot 2 problems using complete and real-world code examples. When you start …