Skip to content

Commit 00269a4

Browse files
authored
exclude pycache from task input key (#539)
1 parent d5e243d commit 00269a4

File tree

1 file changed

+2
-0
lines changed
  • stone-java-gradle-plugin/src/main/kotlin/com/dropbox/stone/java

1 file changed

+2
-0
lines changed

stone-java-gradle-plugin/src/main/kotlin/com/dropbox/stone/java/StoneTask.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,12 @@ abstract class StoneTask : DefaultTask() {
5353

5454
init {
5555
stoneFiles.setFrom(stoneDir.asFileTree.matching {
56+
exclude("**/__pycache__/**")
5657
include("**/*.py")
5758
})
5859

5960
specFiles.setFrom(specDir.asFileTree.matching {
61+
exclude("**/__pycache__/**")
6062
include("**/*.stone")
6163
})
6264
}

0 commit comments

Comments
 (0)