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.
In this article you’ll learn how to view the dependency tree, so you can understand fully how you project is built and resolve common issues.
A powerful Gradle feature is its ability to setup dependencies between tasks, creating a task graph. Learn all about the task graph, how to add tasks to it, and how to print it out.
A common source of confusion is understanding the difference between the gradle and gradlew commands. Learn what each command does and when to use it.