浏览代码

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.
Mike Kobit 8 年之前
父节点
当前提交
b89498a467
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Gradle.gitignore

+ 1 - 1
Gradle.gitignore

@@ -1,5 +1,5 @@
 .gradle
 .gradle
-build/
+/build/
 
 
 # Ignore Gradle GUI config
 # Ignore Gradle GUI config
 gradle-app.setting
 gradle-app.setting