Advanced Gradle knowledge for high-flying developers

Become the hero your Java build needs, within days, not years

Did You Update Yet to Latest Java 21?

Streamline your code with new language features in this latest Java LTS release.

September 19, 2023 · 5 min read · Tom Gregory

The 5 Step Process To Migrate to the Gradle Kotlin DSL

Switching your build scripts to Kotlin doesn’t have to be hard with this step-by-step process.

September 12, 2023 · 5 min read · Tom Gregory

Don’t Use Gradle Without Understanding These Kotlin Essentials

Gradle is now Kotlin first, so learn these 5 Kotlin language features to get comfortable in Kotlin build scripts.

September 6, 2023 · 7 min read · Tom Gregory

Using JUnit 5 With Gradle's Kotlin DSL

Learn this simple build script configuration to run JUnit 5 tests.

August 15, 2023 · 6 min read · Tom Gregory

10 Reasons Why It’s Still OK To Love Java

After 30 years, Java is still relevant and arguably more useful in many situations than other languages.

July 14, 2023 · 3 min read · Tom Gregory

Why Can You Write Gradle in 2 Different Languages?

The very first version of Gradle had build scripts written in the dynamic Groovy language. Why then, years later, did team Gradle add Kotlin as a 2nd option?

May 7, 2023 · 4 min read · Tom Gregory

Did you update to Gradle 8 yet?

A week ago Gradle 8.0 was released. I was totally unprepared. The previous version was 7.6, so this was a new major version. Yeah, I should have known that things would break. When possible, I recommend using the latest Gradle version. In this article, I highlight issues I overcame and the related Gradle features. This might help your update process be less painful. Java toolchain changes The Java toolchain forces Gradle to build your application with a specific Java version, irrespective of the version you use to run Gradle itself....

February 18, 2023 · 3 min read · Tom Gregory

3 Ways To Effectively Manage Gradle Projects in GitHub

If you manage more than a few GitHub repositories, you’ll know that it takes conscious effort to keep them updated. Your project’s dependencies and Gradle version go out of date fast, and probably without you realising. Scale up to 50+ repositories, and you’ve got a big time drain on your hands. Fortunately, GitHub has features to help. In this article, you’ll discover 3 ways to save time and get organised with your Gradle projects in GitHub....

January 7, 2023 · 6 min read · Tom Gregory

Gradle vs. npm

Gradle and npm are build tool giants of their respective Java and JavaScript worlds. But differences in how each tool builds software make it tough to switch from one to the other. To help you bridge the gap, this article explains the main differences and similarities, giving you a deeper understanding of these powerful build tools. What is Gradle? Gradle is a build automation tool, mainly used to build Java applications....

December 31, 2022 · 7 min read · Tom Gregory

13 Key Gradle Fundamentals From A Hello World Project

In software languages and tools like Gradle, Hello World is the simplest example to get you started, before moving onto more advanced topics. But in our hurry to move on, we miss important lessons staring us in the face. Here are 13 key learnings from a Gradle Hello World project, forming the fundamentals of this powerful build tool. If you thought Gradle can be complicated, you’re right. It offers advanced features to satisfy LinkedIn, Netflix, and other companies operating at massive scale....

December 14, 2022 · 8 min read · Tom Gregory