Mastering Gradle master the technique of developing, migrating, and building automation using Gradle

If you are a developer with some experience in build tool and want to become an expert in build tool, then this book is for you. Basic knowledge of Gradle or any other build tool is essential.

Detalles Bibliográficos
Otros Autores: Mitra, Mainak, author (author)
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/alma991009629733506719
Tabla de Contenidos:
  • Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Getting Started with Gradle; Understanding Build Automation System; Need for BAS; Gradle overview; Installation and quick start; Pre-requisites; Gradle for Windows; Gradle for Mac/Linux; The Gradle JVM option; Our first script; Gradle command Line arguments; The Gradle GUI; Start up script; Build life cycle; Initialization; Configuration; Execution; Cache management; Cache location; Change Cache location; Cache features; Reduce the traffic; Dependency location
  • Task configurationTask execution; Task dependency; Task ordering; Task operations; Conditional execution; Build optimization; Task rules; Gradle's in-built tasks; The Copy Task; The Rename Task; The Zip task; Custom tasks; Using buildSrc; The standalone task; Summary; Chapter 4: Plugin Management; The script plugin; The binary plugin; Gradle's in-built plugin; Build and Test plugins; Code analysis plugins; IDE plugins; The Java plugin; Conventions; Configuration; The custom plugin; The build file; The buildSrc directory; The Standalone project; Summary; Chapter 5: Dependency Management
  • OverviewDependency configurations; Dependency types; Repositories; Repositories configuration; Dependency resolution; Transitive dependency; Exclude transitiveness; Selective exclude; Version conflicts; Dynamic dependency; Customizing the dependency; Download file other than JAR; Dependency on files with classifiers; Replacing transitive dependencies; Custom configuration for dependency; Dependency reports; Dependency-specific details; Publishing artifacts; Default artifacts; Custom artifacts; Generate additional XML file along with your JAR file
  • Generate an additional ZIP file along with your JAR fileCustom configuration; The maven-publish plugins; Publishing to the local-hosted repository; Custom POM; Summary; Chapter 6: Working with Gradle; The War plugin; The Scala plugin; Logging; File management; Reading files; Writing files; Creating files/directories; File operations; Filter files; Delete files and directories; FileTree; Property management; ext closure; gradle.properties; The command line; The Custom properties file; Multi-project build; The Multi-project structure; The Multi-project execution; Task execution
  • The Flat hierarchy