You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to cache the contents of build.gradle, build.gradle.kts, and similar files that describe Gradle configuration.
The pitfall is the file names can be customized, so I write **/*.gradle.kts and **/*.gradle masks.
However, the second mask unintentionally includes .gradle folder with temporary files.
I did try to exclude .gradle folder via !./.gradle, however it did not work.
Expected behavior
I would expect the globber to work in a Git-like fashion, so the first negation would deny descending to .gradle folder even though there are subsequent rules that match.
The text was updated successfully, but these errors were encountered:
Describe the bug
I want to cache the contents of
build.gradle
,build.gradle.kts
, and similar files that describe Gradle configuration.The pitfall is the file names can be customized, so I write
**/*.gradle.kts
and**/*.gradle
masks.However, the second mask unintentionally includes
.gradle
folder with temporary files.I did try to exclude
.gradle
folder via!./.gradle
, however it did not work.Expected behavior
I would expect the globber to work in a Git-like fashion, so the first negation would deny descending to
.gradle
folder even though there are subsequent rules that match.The text was updated successfully, but these errors were encountered: