Gradle Dependency Management
eBook - ePub

Gradle Dependency Management

Hubert Klein Ikkink

Condividi libro
  1. 188 pagine
  2. English
  3. ePUB (disponibile sull'app)
  4. Disponibile su iOS e Android
eBook - ePub

Gradle Dependency Management

Hubert Klein Ikkink

Dettagli del libro
Anteprima del libro
Indice dei contenuti
Citazioni

Domande frequenti

Come faccio ad annullare l'abbonamento?
È semplicissimo: basta accedere alla sezione Account nelle Impostazioni e cliccare su "Annulla abbonamento". Dopo la cancellazione, l'abbonamento rimarrà attivo per il periodo rimanente già pagato. Per maggiori informazioni, clicca qui
È possibile scaricare libri? Se sì, come?
Al momento è possibile scaricare tramite l'app tutti i nostri libri ePub mobile-friendly. Anche la maggior parte dei nostri PDF è scaricabile e stiamo lavorando per rendere disponibile quanto prima il download di tutti gli altri file. Per maggiori informazioni, clicca qui
Che differenza c'è tra i piani?
Entrambi i piani ti danno accesso illimitato alla libreria e a tutte le funzionalità di Perlego. Le uniche differenze sono il prezzo e il periodo di abbonamento: con il piano annuale risparmierai circa il 30% rispetto a 12 rate con quello mensile.
Cos'è Perlego?
Perlego è un servizio di abbonamento a testi accademici, che ti permette di accedere a un'intera libreria online a un prezzo inferiore rispetto a quello che pagheresti per acquistare un singolo libro al mese. Con oltre 1 milione di testi suddivisi in più di 1.000 categorie, troverai sicuramente ciò che fa per te! Per maggiori informazioni, clicca qui.
Perlego supporta la sintesi vocale?
Cerca l'icona Sintesi vocale nel prossimo libro che leggerai per verificare se è possibile riprodurre l'audio. Questo strumento permette di leggere il testo a voce alta, evidenziandolo man mano che la lettura procede. Puoi aumentare o diminuire la velocità della sintesi vocale, oppure sospendere la riproduzione. Per maggiori informazioni, clicca qui.
Gradle Dependency Management è disponibile online in formato PDF/ePub?
Sì, puoi accedere a Gradle Dependency Management di Hubert Klein Ikkink in formato PDF e/o ePub, così come ad altri libri molto apprezzati nelle sezioni relative a Computer Science e Programming in Java. Scopri oltre 1 milione di libri disponibili nel nostro catalogo.

Informazioni

Anno
2015
ISBN
9781784392789
Edizione
1

Gradle Dependency Management


Table of Contents

Gradle Dependency Management
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why subscribe?
Free access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Downloading the color images of this book
Errata
Piracy
Questions
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
2. Working with Repositories
Declaring repositories
Using 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
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 rules
Using client modules
Using dynamic versions and changing modules
Understanding the dependency cache
Command-line options for caching
Changing cache expiration
Summary
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
5. Publishing to a Maven Repository
Defining publication
Defining publication artifacts
Using 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
6. Publishing to Bintray
What is Bintray?
Defining a new repository
Defining the Bintray plugin
Deploying publications to Bintray
Configuring the Bintray plugin
Summary
7. Publishing to an Ivy Repository
Defining publications
Defining publication artifacts
Using archive task artifacts
Using 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

Gradle Dependency Management

Copyright © 2015 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.
First published: June 2015
Production reference: 1120615
Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham B3 2PB, UK.
ISBN 978-1-78439-278-9
www.packtpub.com

Credits

Author
Hubert Klein Ikkink
Reviewers
Tony Dieppa
Izzet Mustafaiev
Konstantin Zgirovskiy
Commissioning Editor
Pramila Balan
Acquisition Editor
Sonali Vernekar
Content Development Editor
Athira Laji
Technical Editor
Siddhesh Ghadi
Copy Editor
Sarang Chari
Project Coordinator
Harshal Ved
Proofreader
Safis Editing
Indexer
Monica Mehta
Production Coordinator
Arvindkumar Gupta
Cover Work
Arvindkumar Gupta

About the Author

Hubert Klein Ikkink, born in 1973, lives in Tilburg, the Netherlands, with his beautiful wife and three gorgeous children. He is also known as mrhaki, which is simply the initials of his name prepended by "mr". He studied information systems and management at Tilburg University. After finishing his studies in 1996, he started to develop Java software. Over the years, his focus switched from applets to servlets, and from Java Enterprise Edition applications to Spring-based software and Groovy-related technologies. He likes the expressiveness of the Groovy language and how it is used in other tools, such as Gradle. He also wrote Gradle Effective Implementation Guide, Packt Publishing.
In the Netherlands, Hubert works for a company called JDriven. JDriven focuses on technologies that simplify and improve the development of enterprise applications. Employees of JDriven have years of experience with Java and related technologies and are all eager to learn about new technologies. Hubert works on projects using Grails and Java combined with Groovy and Gradle.

About the Reviewers

Izzet Mustafaiev is a family guy who likes to throw BBQ parties and travel.
Professionally, he is a software engineer working at EPAM Systems with primary skills in Java and hands-on experience in Groovy/Ruby, and is exploring FP with Erlang/Elixir. Izzet has participated in different projects as a developer and as an architect. He advocates XP, clean code, and DevOps practices when he speaks at engineering conferences.
Konstantin Zgirovskiy grew up alongside Android, in a manner of speaking. In 2008, he started programming web services and Chrome extensions for an online browser game, which was later made official. In 2011, Konstantin continued to explore Android through writing a game, which brought him victory in a local programming contest. Nowadays, he works at Looksery, Inc., where he is involved in developing an app with face-tracking and transformation technology for video chats, video selfies, and images on mobile devices.

Indice dei contenuti