Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Gradle Essentials

You're reading from   Gradle Essentials Master the fundamentals of Gradle using real-world projects with this quick and easy-to-read guide

Arrow left icon
Product type Paperback
Published in Dec 2015
Publisher
ISBN-13 9781783982363
Length 176 pages
Edition 1st Edition
Tools
Arrow right icon
Authors (2):
Arrow left icon
 Dabir Dabir
Author Profile Icon Dabir
Dabir
 Maheshwari Maheshwari
Author Profile Icon Maheshwari
Maheshwari
Arrow right icon
View More author details
Toc

Summary


We started this chapter with a quick feature overview of Groovy language, covering some of the topics that would be helpful for us to understand Gradle's syntax and write better build scripts. Then, we looked at the API that Gradle exposes to our build scripts and how to consume the API via the DSL. We also covered the Gradle build phases. Then, we looked at the way in which tasks can be created, configured, have dependencies between, and run by default.

After reading this chapter, we should be able to comprehend the Gradle DSL, rather than just trying to remember the syntax. We are now in a position to read and understand any given Gradle build file, and we should now be able to write custom tasks with ease.

This chapter might feel a little long and complex. We should take some time out to practise and reread the sections that are not clear and also look up the online references given throughout the chapter. The chapters ahead will be smooth sailing.

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at £13.99/month. Cancel anytime
Visually different images