{

Welcome to my blog !


How to exclude dependency in Gradle projects?

January 14, 2023 ·  2 min read

This tutorial talks about how to exclude dependency in Gradle. This post also includes excluding jar files in groovy and kotlin scripts. Gradle uses two different version syntaxes for configuring build dependencies groovy kotlin How to exclude transitive dependencies in Gradle? This section talks about excluding runtime and compile time for each dependency. exclude runtime dependency: Sometimes, You have transitive dependencies which are causing conflict with the version of the direct dependency....

How to create a release signed apk file using Gradle?

January 14, 2023 ·  2 min read

Once your android application is ready, You need to generate apk with a sign. This tutorial talks about how to generate a release apk file using the Gradle file. How to generate release unsigned apk file using Gradle? During development, You need to test your application on real devices, you need to generate an unsigned apk file. Here is a sequence of steps to generate an unsigned apk release In the build....

gitignore file for Gradle java and android project

January 14, 2023 ·  2 min read

Gradle is a Java project build tool that allows you to compile, build, manage dependencies, and deploy your projects. It also creates jar/war/ear files for various web and Android applications. The java Gradle project includes XML, java, and JSP source code that commits to svn and git repositories. Gitignore is a file that includes a list of files or directories that ignores when committing to remote repositories in Java projects....

Frequently used Gradle commands list | Gradle cheat sheet

January 14, 2023 ·  4 min read

Gradle is a build automation tool for java and android projects. A developer working on java projects knows about Gradle command use. This tutorial covers list of commands used by the developer for daily usage in projects Please have a look at my previous article maven installation. For the maven installation, the JDK is required. You can use either gradle wrapper command gradlew or [installs gradle] (/gradle-installation> locally for gradle command execution...

Fix for permission denied error for gradlew command

January 14, 2023 ·  2 min read

It is a short tutorial on how to fix a gradlew permission denied error. When you run the gradlew command with any task, You got the following error in windows as well as Linux. $ ./gradlew compile -bash: ./gradlew: Permission denied gradlew: Permission denied is a permission error on a Linux or Unix machine, So you have to change permissions for the gradlew wrapper command. First, check available permissions for the file using the below command....

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