Reputation: 2509
After one of the recent upgrades of Android Studio and/or the Gradle plugin, I've noticed that a build.grade-e file is created after I edit a build.gradle file. The build.gradle-e file is a copy of the pre-edited copy of build.gradle and I assume it is simply a backup.
Trying to google this filename has been difficult since Google ignores the hyphen.
Since build.gradle-e seems to be a backup, I don't see a need to introduce it into my git repository.
Is is safe/good to add build.gradle-e to my .gitignore?
Upvotes: 1
Views: 375
Reputation: 28663
This is nothing that comes from plain gradle, so I suggest it is some sort of working copy used by the android studio. I definitely would add it to .gitignore. Even better it sounds like an issue in Android studio for me.
Upvotes: 1