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
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.
Otros Autores: | |
---|---|
Formato: | Libro electrónico |
Idioma: | Inglés |
Publicado: |
Birmingham, England ; Mumbai, [India] :
Packt Publishing
2015.
|
Edición: | 1st edition |
Colección: | Community experience distilled.
|
Materias: | |
Ver en Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009629773106719 |
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 repositoriesUsing 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 rulesUsing 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 artifactsUsing 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 artifactsUsing 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