Groovy and Gradle Goodness Notebooks
Groovy and Gradle Goodness Notebooks
About the Bundle
Learn about the (hidden) features in Groovy and Gradle with these two books. Each book contains a bundle of blog posts that are published a Message from mrhaki. The posts contain a lot of sample code to explain the different great features of Groovy and Gradle.
Groovy Goodness Notebook
Experience the Groovy programming language through code snippets
In 2009 I started to write small blog posts about Groovy at Messages from mrhaki. The posts contained code samples of cool Groovy features I just didn't want to forget. The blog posts turned out to be a useful resource for people learning and using Groovy in their every day programming.
The Groovy Goodness Notebook contains the blog posts about Groovy previously mentioned on my blog. The posts have been edited slightly so they can be used for the book. The book gives a broad overview of all the great features we can find in the Groovy language.
Updated on April 19, 2023 to include the following new subjects:
- Using The Switch Expression
- Get Row Number In GINQ Result Set
- Reading TOML Configuration
- Creating TOML Configuration With TomlBuilder
- Closed And Open Ranges
- Using Macros For Getting String Representation Of Variables
- Using Macros For Getting More Information About Variables
- Using Subscript Operator With Multiple Fields On Date Related Objects
- Using Tuples
The book categorizes the posts into the following sections:
- Regular Expressions
- Lists, Ranges and Arrays
- Files, Reades, Writers and URls
- XML and JSON
- AST transformations
- DSL and Builder Support
Gradle Goodness Notebook
Experience Gradle through code snippets
In 2009 I started to write small blog posts about Gradle at Messages from mrhaki. The posts contained code samples of cool Gradle features I just didn't want to forget. The blog posts turned out to be a useful resource for people learning and using Groovy in their every day programming.
The Gradle Goodness Notebook contains the blog posts about Gradle previously mentioned on my blog. The posts have been edited slightly so they can be used for the book. The book gives a broad overview of all the great features we can find in the Gradle build tool.
Latest update on April 18, 2023 with the following blog posts:
- Defining Plugin Versions Using Version Catalog
- Grouping Version Catalog Dependencies Into Bundles
- Set Test Framework Version Using Version Catalog With JVM Test Suite Plugin
- Using Spock With JVM Test Suite Plugin
- Add Extra Dependencies For Running Tests Using JVM Test Suite Plugin
- Set Project Version In Version Catalog
- Configure Test Task With JVM Test Suite
- Publish Version Catalog For Sharing Between Projects
The book contains the following sections:
- Command line
- Java and Groovy
- Managing Dependencies
- Testing Support
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.
See full terms
80% Royalties. Earn $16 on a $20 book.
We pay 80% royalties. That's not a typo: you earn $16 on a $20 sale. If we sell 5000 non-refunded copies of your book or course for $20, you'll earn $80,000.
(Yes, some authors have already earned much more than that on Leanpub.)
In fact, authors have earnedover $12 millionwriting, 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.