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.
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.
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.
Your Gradle project can easily be setup to run integration tests using a specific Gradle task and source directory. This separates the integration tests from unit tests, making the project easier to understand and helping developers to work more productively.
Some combinations of transitive dependencies can cause issues, but fortunately Gradle has several ways to exclude them. Learn why you’d want to exclude dependencies, as well as how to use each option.
Gradle versions 5.0+ feature the Kotlin DSL, where you define your build script using the Kotlin language from JetBrains. The Groovy DSL is still more common, but here are 5 reasons to switch to the Kotlin DSL.
When you use a build tool like Gradle, there are often many ways to do the same thing. How can you decide? For some practical advice, I’ve compiled this list of 10 essential Gradle best practices.
Declaring Gradle task inputs and outputs is essential to use the incremental build feature, improving the performance of your build. It also follows best practice, allowing you to create more complex projects.
If you just want to build Docker images within your Gradle project then it might frustrate you to have to decide which plugin to use. This article will help you make a choice, with a review of the bmuschko Docker Gradle plugin.
Gradle 7.0 was released on 9th April 2021, and includes some important new features and improvements. Discover what’s new, and what the benefits could be for your Gradle project.