Forget Writing Code.
Start Building Software.

Get weekly inspiration to kickstart your building journey and transform your ideas into digital reality.

Gradle assemble task essentials

Learn everything you’ll ever need to know about Gradle’s task for creating artifacts, assemble. Assemble is a task you run from the command line using ./gradlew assemble in Linux and Mac or gradlew assemble in Windows. To fully understand assemble you need to know about the 2 types of Gradle tasks: actionable tasks have some action(s) attached to do work in your build lifecycle tasks are workflow tasks with no actions attached Assemble is a lifecycle task with no actions attached....

Published 13 Jan 2022 · 4 min read · Tom Gregory

Gradle check task essentials

In this article you’ll discover everything you’ll ever need to know about Gradle’s verification task, check. Check is a task you run from the command line using ./gradlew check in Linux and Mac or gradlew check in Windows. To understand check, know that Gradle has 2 types of tasks: actionable tasks have some action(s) attached to do work in your build lifecycle tasks are workflow tasks with no actions attached. Check is a lifecycle task....

Published 12 Jan 2022 · 4 min read · Tom Gregory

Maven vs. Gradle in-depth comparison

This in-depth comparison helps you decide whether to use the Maven or Gradle build tool. Whatever your use case, you’ll find the answers here to quickly enable you to pick the right tool to support your project’s growth. Overview Both Maven and Gradle fall into the category of build tools. They’re designed to automate the work involved to take your application’s source code and transform it into an artifact to be published....

Published 17 Dec 2021 · 14 min read · Tom Gregory

Top 5 Gradle benefits over Maven

You might be surprised how much difference Gradle can make compared to Maven in terms of developer productivity. To show you how, here are the top 5 benefits of using Gradle, each with a full comparison with Maven. 1. Much faster Gradle is faster. A lot faster. This is a massive productivity boost to developers building projects many times each day. Let’s be specific about what faster means, by comparing Maven and Gradle’s performance in a real project....

Published 13 Dec 2021 · 9 min read · Tom Gregory

Jib vs. Spring Boot for building Docker images

Discover why using a Docker image build tool like Jib or the Spring Boot plugin is a good idea and how to set it up to build your application.

Published 30 Nov 2021 · 14 min read · Tom Gregory

How to build Gradle projects with GitHub Actions

If you have a Gradle project in GitHub, then GitHub Actions can build it automatically on push with minimal setup. And it won’t cost you a penny. While other CI solutions involve the headache of managing servers, GitHub Actions is entirely hosted on their infrastructure. In this article you’ll learn how to easily build Gradle projects with GitHub Actions, optimise build performance, and use the event driven approach to handle common scenarios like PR creation....

Published 22 Nov 2021 · 18 min read · Tom Gregory

The 6 best Gradle tutorials for beginners

So you want to get started with Gradle but you’re not sure where to begin? Here you’ll discover the 6 best Gradle tutorials for beginners, compared so you can pick the one to help you move forward with this build automation tool. If you’re looking for a feel-good article about all the great Gradle tutorials out there, this is not it. From my research, helpful Gradle tutorials are rare, and most of them have code examples that don’t work on the latest Gradle version....

Published 4 Oct 2021 · 11 min read · Tom Gregory

Gradle Tutorial for Complete Beginners

Have you heard of Gradle, but you’re not really sure what it is, why you should use it, and how to get started? This tutorial answers all of these questions and helps you take your first steps with this powerful build tool. In this Gradle tutorial you’ll learn: why we need help from build tools to build Java applications why Gradle is a great choice for building Java applications (better than Maven or custom scripts)...

Published 2 Oct 2021 · 22 min read · Tom Gregory

Gradle Build Command

Running the Gradle build command builds your Gradle project, including assembling your application and running tests. Discover all the ways to run the Gradle build command, how it works, as well as why it might sometimes be best not to run it. How to run the Gradle build command Simply put, to build your application run the following command at your Windows command prompt. gradlew build Or if you’re working in a Linux/Mac environment, it’s this....

Published 28 Sep 2021 · 5 min read · Tom Gregory