Gradle

Gradle is a build tool for applications written in Java, C++, Python etc. Gradle supports plugins and integrations to extend its functionality for specific requirements, similar to Maven.

Let us learn to use Gradle with simple Java examples.

Related Tags

Tutorials

Gradle 9: What’s New and How to Upgrade from Gradle 8

Gradle 9 needs Java 17 or newer to run, builds scripts with Kotlin 2 and Groovy 4, and removes the APIs that Gradle 8 deprecated. This overview lists the main changes from 9.0 to 9.8.0, builds a Java 25 project with the Gradle 9 wrapper, and fixes the most common upgrade errors.

Running JUnit Tests with Gradle

By utilizing the –tests option, we can run unit tests using Gradle from entire test suites to specific test classes or methods.

Spring Boot Gradle Plugin

Spring Boot Gradle plugin provides support for Spring Boot applications using Gradle as the build automation tool that helps in dependency management and application packaging.

About Us

HowToDoInJava provides tutorials and how-to guides on Java and related technologies.

It also shares the best practices, algorithms & solutions and frequently asked interview questions.