Skip to content

Commit

Permalink
Include Java source files in project fingerprints (#87)
Browse files Browse the repository at this point in the history
Simple fix -- add `:java-source-paths` to the list of file paths
to check when fingerprinting.
  • Loading branch information
drewinglis authored Jun 11, 2021
1 parent 47e31f3 commit 505d0cb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ This project adheres to [Semantic Versioning](http://semver.org/).
a double-wildcard `.../**` syntax.
[#85](https://github.com/amperity/lein-monolith/pull/85)

### Fixed
- Fingerprinting will now correctly track Java files as project source files.
[#87](https://github.com/amperity/lein-monolith/pull/87)


## [1.6.1] - 2020-10-09

Expand Down
2 changes: 1 addition & 1 deletion src/lein_monolith/task/fingerprint.clj
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
(->> (concat
[project]
(vals (:profiles project)))
(mapcat (juxt :source-paths :test-paths :resource-paths))
(mapcat (juxt :source-paths :java-source-paths :test-paths :resource-paths))
(mapcat identity)
(map (fn absolute-file
[dir-str]
Expand Down

0 comments on commit 505d0cb

Please sign in to comment.