Gradle Dependency Management

Hubert Klein Ikkink

  • 出版商: Packt Publishing
  • 出版日期: 2015-06-21
  • 售價: $1,440
  • 貴賓價: 9.5$1,368
  • 語言: 英文
  • 頁數: 142
  • 裝訂: Paperback
  • ISBN: 1784392782
  • ISBN-13: 9781784392789
  • 相關分類: Java 相關技術
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

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

About This Book

  • Be in total control of your dependencies
  • Deploy your artifacts to repositories with Gradle
  • Learn through code snippets and real-life examples

Who This Book Is For

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.

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

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.

商品描述(中文翻譯)

學習如何透過大量的程式碼範例使用 Gradle 強大的依賴管理,並發現如何定義、客製化和部署依賴。

關於本書
- 完全掌控您的依賴
- 使用 Gradle 將您的工件部署到倉庫
- 透過程式碼片段和實際範例學習

本書適合誰
如果您在 Java 專案上工作,使用 Gradle 作為建置自動化工具,並在專案中使用依賴,那麼這本書就是為您而寫。此外,如果您想將專案工件作為依賴部署給其他使用 Gradle 的開發者,您找對書了。

您將學到什麼
- 在您的 Java 專案中定義依賴
- 將您的工件發佈到 Maven 和 Ivy 倉庫
- 配置傳遞依賴
- 在 Bintray 中安裝您的工件
- 客製化依賴規則的解析
- 在多模組專案中使用您自己的程式碼作為依賴
- 配置倉庫以解析依賴

詳細內容
Gradle 是建置自動化的下一代工具。它允許您以清晰的方式定義專案的依賴,並客製化它們的解析方式以符合您的需求。它提供了對如何將工件發佈到 Maven 和 Ivy 倉庫的細緻控制。

Gradle 依賴管理定義了您基於 Java 的專案的依賴並客製化它們的解析方式。您將學習如何配置工件的發佈到不同的倉庫。這本書充滿了大量的程式碼範例,讓您了解如何定義包含依賴的倉庫。接下來,您將學習如何在 Gradle 中客製化依賴解析過程。