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:
resources/config/dependencies.txt
Or, if your Git repository contains multiple modules:
**/resources/config/dependencies.txt
Related Topics