When you build with Gradle, it creates a .gradle file in the directory in which the build command is issued. This directory contains various operational files and directories for Gradle and should not be checked in.

To tell git to ignore these files and directories, add this in the .gitignore file for your Git module repositories:


We’ve also updated the credits page functionality for the Gradle build and the build now produces a file dependencies.txt as a companion to the jars.txt file in a module’s resources/credits directory. This is not a file that needs to be checked in, so it should also be ignored, by including this in the .gitignore file for Git module repositories:


Or, if your Git repository contains multiple modules:


Related Topics


Was this content helpful?

Log in or register an account to provide feedback

expand all collapse all