Gradle Dependency Management
eBook - ePub

Gradle Dependency Management

Hubert Klein Ikkink

Buch teilen
  1. 188 Seiten
  2. English
  3. ePUB (handyfreundlich)
  4. Über iOS und Android verfügbar
eBook - ePub

Gradle Dependency Management

Hubert Klein Ikkink

Angaben zum Buch
Buchvorschau
Inhaltsverzeichnis
Quellenangaben

Häufig gestellte Fragen

Wie kann ich mein Abo kündigen?
Gehe einfach zum Kontobereich in den Einstellungen und klicke auf „Abo kündigen“ – ganz einfach. Nachdem du gekündigt hast, bleibt deine Mitgliedschaft für den verbleibenden Abozeitraum, den du bereits bezahlt hast, aktiv. Mehr Informationen hier.
(Wie) Kann ich Bücher herunterladen?
Derzeit stehen all unsere auf Mobilgeräte reagierenden ePub-Bücher zum Download über die App zur Verfügung. Die meisten unserer PDFs stehen ebenfalls zum Download bereit; wir arbeiten daran, auch die übrigen PDFs zum Download anzubieten, bei denen dies aktuell noch nicht möglich ist. Weitere Informationen hier.
Welcher Unterschied besteht bei den Preisen zwischen den Aboplänen?
Mit beiden Aboplänen erhältst du vollen Zugang zur Bibliothek und allen Funktionen von Perlego. Die einzigen Unterschiede bestehen im Preis und dem Abozeitraum: Mit dem Jahresabo sparst du auf 12 Monate gerechnet im Vergleich zum Monatsabo rund 30 %.
Was ist Perlego?
Wir sind ein Online-Abodienst für Lehrbücher, bei dem du für weniger als den Preis eines einzelnen Buches pro Monat Zugang zu einer ganzen Online-Bibliothek erhältst. Mit über 1 Million Büchern zu über 1.000 verschiedenen Themen haben wir bestimmt alles, was du brauchst! Weitere Informationen hier.
Unterstützt Perlego Text-zu-Sprache?
Achte auf das Symbol zum Vorlesen in deinem nächsten Buch, um zu sehen, ob du es dir auch anhören kannst. Bei diesem Tool wird dir Text laut vorgelesen, wobei der Text beim Vorlesen auch grafisch hervorgehoben wird. Du kannst das Vorlesen jederzeit anhalten, beschleunigen und verlangsamen. Weitere Informationen hier.
Ist Gradle Dependency Management als Online-PDF/ePub verfügbar?
Ja, du hast Zugang zu Gradle Dependency Management von Hubert Klein Ikkink im PDF- und/oder ePub-Format sowie zu anderen beliebten Büchern aus Computer Science & Programming in Java. Aus unserem Katalog stehen dir über 1 Million Bücher zur Verfügung.

Information

Jahr
2015
ISBN
9781784392789

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.

Inhaltsverzeichnis