Mastering Gradle

Mainak Mitra

  • 出版商: Packt Publishing
  • 出版日期: 2015-07-31
  • 售價: $1,930
  • 貴賓價: 9.5$1,834
  • 語言: 英文
  • 頁數: 279
  • 裝訂: Paperback
  • ISBN: 1783981369
  • ISBN-13: 9781783981366
  • 相關分類: Java 相關技術
  • 海外代購書籍(需單獨結帳)

商品描述

Master the technique of developing, migrating, and building automation using Gradle

About This Book

  • Create new plugins to get customized features to suit your needs
  • Build projects like Java, Scala, and web applications using Gradle
  • A step-by-step guide that will help you to build and deploy Android mobile apps with Gradle

Who This Book Is For

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.

What You Will Learn

  • Create and develop a build system with Gradle
  • Understand Groovy basics and key features to write Gradle scripts
  • Explore the important features of Gradle: task management, plugin management, and dependency management
  • Walkthrough various in-built Gradle plugins, such as Java, Scala, War, Ant, Maven, and many others
  • Master the migration techniques from build tools such as Ant and Maven into Gradle
  • Integrate Gradle with popular continuous integration tools such as Jenkins and TeamCity

In Detail

With Gradle, you can efficiently build automation framework along with some flexible alternatives to customized build logic. This book starts with sound basics about build automation and how Gradle fits into this automation. It then moves on to give you a good exposure on Groovy―a scripting language used to write Gradle―and helps you understand a key elements of Groovy programming language. In the following chapters, you will deal with task management and learn how to integrate Ant tasks into build scripts. Furthermore, you will learn dependency management, plugin management, and its configuration techniques in Gradle. You will also get hands-on with building and testing projects using Gradle. You will then begin to cover diverse topics, such as Continuous Integration with Jenkins and TeamCity, Migration strategies, and Deployment, which enables you to learn concepts useful for Agile software development. Finally, you will also learn how to create a simple mobile application using Android and explore how Gradle can help you to build and test the application.