Leanpub Header

Skip to main content

Material for Learning Groovy 3

The author is letting you choose the price you pay for this book!

Pick Your Price...
PDF
EPUB
WEB
About

About

About the Book

Price

Pick Your Price...

Minimum price

$7.99

$9.99

You pay

$9.99

Author earns

$7.99
$

All prices are in US $. You can pay in US $ or in your local currency when you check out.

EU customers: prices exclude VAT, which is added during checkout.

...Or Buy With Credits!

Number of credits (Minimum 1)

1
The author will earn $12.00 from your purchase!
You can get credits monthly with a Reader Membership

Author

About the Author

Adam L. Davis

Adam Davis makes software. He's spent many years developing in Java (since Java 1.2) and has enjoyed using Spring, Hibernate, Grails, and many others. He has used Java, Groovy, JavaScript, AWS, and much more to build applications for over a decade and has worked at both large and small corporations. Adam is a Certified Spring Professional and has a Masters and a Bachelors degree in Computer Science from Georgia Tech.

http://adamldavis.com

Contents

Table of Contents

Introduction

  1. About this Course
  2. Practice Quiz

Software to Install

  1. Command Line
  2. Java/Groovy
  3. Install Java
  4. Install Groovy
  5. Trying it out
  6. Groovy Console
  7. Groovy Console Settings
  8. Git
  9. Quiz 2

The Basics

  1. Super Java
  2. Source/byte-code
  3. CompileStatic, CompileDynamic
  4. Primitives and Reference
  5. Groovy Non-Primitives
  6. Strings/Declarations
  7. Statements
  8. Assignment
  9. Class and Object
  10. Basic Quiz 1

Properties and Methods

  1. Groovy Classes
  2. Creating a New Object
  3. Groovy Properties
  4. Comments
  5. Basic Quiz 2

Arrays, Lists, Sets, and Maps

  1. Vampire
  2. Arrays
  3. Lists
  4. List Get and Put
  5. List Quiz
  6. Sets
  7. Set Exercise
  8. Maps
  9. Collection Math
  10. Maps Quiz

More About Groovy

  1. Default Method Values
  2. Equals, Hashcode, etc.
  3. Equals vs is
  4. Regex Pattern Matching
  5. Semi-colon Optional
  6. Where are Generics?
  7. Groovy Numbers
  8. Boolean-resolution
  9. Map Syntax
  10. GString
  11. Summary
  12. Basic Quiz 3

Even More About Groovy

  1. Elvis Operator
  2. Safe dereference
  3. In, Not in
  4. A Better Switch
  5. Even More About Groovy Quiz

Groovy Closures

  1. Implicit Variables
  2. Using Closures as Method Arguments
  3. Groovy 3 Closures
  4. Closure Quiz

Groovy Method Calls

  1. Parenthesis Optional
  2. Map Methods
  3. Map Constructor
  4. Closure Methods
  5. Method Quiz

Gradle

  1. Getting Started
  2. Projects and Tasks
  3. Plugins
  4. Configuring a Task
  5. Extra Configuration
  6. Dependencies
  7. Repositories
  8. Gradle Properties
  9. Summary
  10. Gradle Quiz 1

GDK

  1. Collections
  2. IO
  3. GDK File Exercise 1
  4. GDK Quiz 1
  5. Ranges
  6. Utilities
  7. GDK Quiz 2

Traits

  1. Defining Traits
  2. Using Traits
  3. Summary
  4. Traits

Advanced Gradle

  1. Multiproject builds
  2. File Operations
  3. Exploring
  4. Build Scans
  5. Create a Plugin
  6. Summary
  7. Online Documentation
  8. Gradle Quiz 2

Groovy Projects

  1. Grails
  2. Griffon
  3. Ratpack
  4. Vert.x
  5. Gaelyk
  6. Gradle
  7. Spock
  8. Geb
  9. Codenarc
  10. GPars
  11. SDKMAN
  12. Lazybones
  13. Grooscript
  14. GrooCSS
  15. Jenkins Pipelines
  16. Groovy Projects Quiz

Conclusion

  1. What You Learned
  2. Final Quiz
  3. Final Quiz

The Leanpub 60 Day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.

You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!

So, there's no reason not to click the Add to Cart button, is there?

See full terms...

Earn $8 on a $10 Purchase, and $16 on a $20 Purchase

We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earned over $14 million writing, publishing and selling on Leanpub.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub