Gradle Dependency Management
暫譯: Gradle 依賴管理

Hubert Klein Ikkink

  • 出版商: Packt Publishing
  • 出版日期: 2015-06-21
  • 售價: $1,470
  • 貴賓價: 9.5$1,397
  • 語言: 英文
  • 頁數: 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 中自訂相依性解析過程。