Welcome to my blog !

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....

How to install and configure Gradle in windows,linux ?

January 14, 2023 ·  2 min read

This tutorial explains a step-by-step tutorial on how to install and set up the below environments. windows Linux Mac OS Gradle is a Java and Android project build automation tool. More projects are adopting this tool during development now that Android Studio supports integration with Gradle. Gradle requires Java to be installed. It needs JDK version 8 at least. First, check whether Java is installed or not using the below command....

How to force Gradle to redownload dependencies?

January 14, 2023 ·  2 min read

Sometimes We want to redownload dependencies in a Gradle project. How can you force grade dependencies to download freshly? This post describes how to do the command line to force snapshots and release dependencies in a Gradle project. In development, We have many use cases where we have to redownload dependencies. when you are doing Gradle build the first time, It downloads all dependencies For suppose, the build fails and some dependencies are not downloaded due to network issues....

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