Welcome to my blog !

Ways to skip test case execution in Gradle project build

January 14, 2023 ·  3 min read

With Gradle build or run command, executes test case execution by default. Sometimes, We want to disable or ignore test execution in Gradle project execution. In Maven, you can easily do this with the command line with the option -DskipTests=true. This blog talks about different ways to disable test case execution in Gradle projects. It skips the following test cases. Unit test cases Integration test is -DskipTests available with Gradle command?...

Learn Gradle | tutorials, and examples

January 14, 2023 ·  3 min read

What is Gradle? Gradle is an Opensource build automation tool to build and run projects in Android and java based on projects. Features Incremental builds Gradle considers the last modified files and the last build and only builds with modified files thus improving performance. Parallel task execution Build caching JVM and Android application management Gradle version The current version is 7.1. Gradle Download The Gradle tool can be downloaded from here....

How to run only single test cases with Gradle build

January 14, 2023 ·  2 min read

It is a short tutorial on how to run single test case execution in gradle build Single module project Multi modular project times, to debug test case execution, We need to run single test cases multiple times, thus helping developers to debug and run multiple times without wasting time. Test cases can be unit or integration or functional tests. How to run single test cases in the Gradle project?...

How to print dependency tree graph in Gradle projects

January 14, 2023 ·  17 min read

Gradle is a project build tool for java and android applications. Contents What is Gradle dependency tree? How do you read a Gradle dependency tree? How to print dependency tree in Gradle projects? Print dependencies for sub-modules in multi-project Gradle project Generate Dependency tree in HTML report Conclusion When you are using Gradle in your project, added dependencies in the Gradle file. Once the dependencies have been configured, they will be downloaded from repositories to your local machine....

How to perform git tasks with build script?

January 14, 2023 ·  3 min read

In these tutorials, Learn how to perform the below git operations in the build script. Clone git repository in gradle build git pull changes from the Gradle task create a git tag and commit changes to the remote repository. Sometimes, We have to write a build script to automate git tasks for the build process in continuous integration and build deployment, These build scripts are configured as dependent plugins in the life cycle of the Gradle build cycle or can run as an individual....

You'll get a notification every time a post gets published here.