Skip to content

Commit

Permalink
(maint) Move clojure/test.check to dev profile and update to 1.1.1
Browse files Browse the repository at this point in the history
This commit moves the `clojure/test.check` dependency to the `dev` lein
profile, since it is only used in tests. This will prevent it from being
picked up transitively by other projects that depend on `jdbc-util`.
Previously, this could sometimes cause ambiguous dependency resolution,
since other projects, notably jar-jar and puppetdb, also pull in
`clojure/test.check`, recently at a different version than this library.

In addition to moving it to a dev dependency, this commit also updates
the test library to the version used by other projects in the PE
ecosystem.
  • Loading branch information
Magisus committed Oct 2, 2024
1 parent 092001b commit 3ff3706
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
:pedantic? :abort
:dependencies [[org.clojure/clojure]
[org.clojure/java.jdbc]
[org.clojure/test.check "0.9.0"]
[org.postgresql/postgresql]
[migratus "1.3.5" :exclusions [org.clojure/clojure]]
[com.zaxxer/HikariCP]
Expand All @@ -19,7 +18,8 @@
[cheshire]]

:profiles {:dev {:dependencies [[org.slf4j/slf4j-api]
[org.slf4j/log4j-over-slf4j]]}}
[org.slf4j/log4j-over-slf4j]
[org.clojure/test.check "1.1.1"]]}}

:plugins [[lein-release "1.0.9"]
[lein-parent "0.3.7"]
Expand Down

0 comments on commit 3ff3706

Please sign in to comment.