1
0
mirror of https://github.com/github/gitignore synced 2024-11-30 07:34:22 +01:00
gitignore/Gradle.gitignore
Mike Kobit b89498a467 Only ignore the build directory in the same directory as .gitignore for Gradle
If you have a Java package with `build` in it, the current version will always ignore files in that directory.
This change makes it so only the root "build" directory is ignored.

I believe that this assumes .gitignore is in the root of a project.
2016-06-24 12:30:38 -05:00

15 lines
308 B
Plaintext

.gradle
/build/
# Ignore Gradle GUI config
gradle-app.setting
# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored)
!gradle-wrapper.jar
# Cache of project
.gradletasknamecache
# # Work around https://youtrack.jetbrains.com/issue/IDEA-116898
# gradle/wrapper/gradle-wrapper.properties