Gradle provides different in-built plugins to automate the build process. Gradle not only provides different plugins to build a project, but also provides plugins to test the project, for code analysis, for IDE support, for web container support, and so on.
The following are some of the frequently used plugins in different categories. You will find more details on core plugins in the Gradle documentation at https://docs.gradle.org/current/userguide/userguide.
These plugins also support the testing features to execute Junit and TestNG tests:
The Java plugin
The Groovy plugin
The Scala plugin
The War plugin