From e7940bb5dc4acec523c1d0519db3beceda7d008a Mon Sep 17 00:00:00 2001 From: mccraig mccraig of the clan mccraig Date: Wed, 23 Dec 2020 18:37:21 +0000 Subject: [PATCH] docs: explicit version for all top-level deps --- modules/alia-async/project.clj | 7 ++++--- modules/alia-component/project.clj | 9 +++++---- modules/alia-java-legacy-time/project.clj | 7 ++++--- modules/alia-joda-time/project.clj | 7 ++++--- modules/alia-manifold/project.clj | 7 ++++--- modules/alia-spec/project.clj | 7 ++++--- modules/alia/project.clj | 5 +++-- project.clj | 8 ++++---- 8 files changed, 32 insertions(+), 25 deletions(-) diff --git a/modules/alia-async/project.clj b/modules/alia-async/project.clj index 7ca94d4..49d6a82 100644 --- a/modules/alia-async/project.clj +++ b/modules/alia-async/project.clj @@ -1,5 +1,6 @@ (defproject cc.qbits/alia-async "_" - :plugins [[lein-parent "0.3.8"]] + :plugins [[lein-parent "0.3.8"] + [exoscale/lein-replace "0.1.1"]] :parent-project {:path "../../project.clj" :inherit [:version @@ -18,6 +19,6 @@ :description "core.async interface for Alia" - :dependencies [[org.clojure/clojure] - [cc.qbits/alia] + :dependencies [[org.clojure/clojure "1.10.1" :scope "provided"] + [cc.qbits/alia :version] [org.clojure/core.async "0.4.474"]]) diff --git a/modules/alia-component/project.clj b/modules/alia-component/project.clj index 95eb42d..78b3616 100644 --- a/modules/alia-component/project.clj +++ b/modules/alia-component/project.clj @@ -1,5 +1,6 @@ (defproject cc.qbits/alia-component "_" - :plugins [[lein-parent "0.3.8"]] + :plugins [[lein-parent "0.3.8"] + [exoscale/lein-replace "0.1.1"]] :parent-project {:path "../../project.clj" :inherit [:version @@ -18,7 +19,7 @@ :description "Component integration for Alia" - :dependencies [[org.clojure/clojure] + :dependencies [[org.clojure/clojure "1.10.1" :scope "provided"] [com.stuartsierra/component "0.3.2"] - [cc.qbits/alia] - [cc.qbits/alia-spec]]) + [cc.qbits/alia :version] + [cc.qbits/alia-spec :version]]) diff --git a/modules/alia-java-legacy-time/project.clj b/modules/alia-java-legacy-time/project.clj index 89f7de1..def2884 100644 --- a/modules/alia-java-legacy-time/project.clj +++ b/modules/alia-java-legacy-time/project.clj @@ -1,5 +1,6 @@ (defproject cc.qbits/alia-java-legacy-time "_" - :plugins [[lein-parent "0.3.8"]] + :plugins [[lein-parent "0.3.8"] + [exoscale/lein-replace "0.1.1"]] :parent-project {:path "../../project.clj" :inherit [:version @@ -18,5 +19,5 @@ :description "Alia extension for java legacy time codec" - :dependencies [[org.clojure/clojure] - [cc.qbits/alia]]) + :dependencies [[org.clojure/clojure "1.10.1" :scope "provided"] + [cc.qbits/alia :version]]) diff --git a/modules/alia-joda-time/project.clj b/modules/alia-joda-time/project.clj index caea1cf..8dd77af 100644 --- a/modules/alia-joda-time/project.clj +++ b/modules/alia-joda-time/project.clj @@ -1,5 +1,6 @@ (defproject cc.qbits/alia-joda-time "_" - :plugins [[lein-parent "0.3.8"]] + :plugins [[lein-parent "0.3.8"] + [exoscale/lein-replace "0.1.1"]] :parent-project {:path "../../project.clj" :inherit [:version @@ -18,6 +19,6 @@ :description "Alia extension for joda-time codec" - :dependencies [[org.clojure/clojure] - [cc.qbits/alia] + :dependencies [[org.clojure/clojure "1.10.1" :scope "provided"] + [cc.qbits/alia :version] [clj-time "0.11.0"]]) diff --git a/modules/alia-manifold/project.clj b/modules/alia-manifold/project.clj index ec563dc..d8d4212 100644 --- a/modules/alia-manifold/project.clj +++ b/modules/alia-manifold/project.clj @@ -1,5 +1,6 @@ (defproject cc.qbits/alia-manifold "_" - :plugins [[lein-parent "0.3.8"]] + :plugins [[lein-parent "0.3.8"] + [exoscale/lein-replace "0.1.1"]] :parent-project {:path "../../project.clj" :inherit [:version @@ -18,6 +19,6 @@ :description "manifold interface for Alia" - :dependencies [[org.clojure/clojure] - [cc.qbits/alia] + :dependencies [[org.clojure/clojure "1.10.1" :scope "provided"] + [cc.qbits/alia :version] [manifold "0.1.8"]]) diff --git a/modules/alia-spec/project.clj b/modules/alia-spec/project.clj index edcf162..0133b23 100644 --- a/modules/alia-spec/project.clj +++ b/modules/alia-spec/project.clj @@ -1,5 +1,6 @@ (defproject cc.qbits/alia-spec "_" - :plugins [[lein-parent "0.3.8"]] + :plugins [[lein-parent "0.3.8"] + [exoscale/lein-replace "0.1.1"]] :parent-project {:path "../../project.clj" :inherit [:version @@ -18,6 +19,6 @@ :description "clojure.spec for Alia" - :dependencies [[org.clojure/clojure] - [cc.qbits/alia] + :dependencies [[org.clojure/clojure "1.10.1" :scope "provided"] + [cc.qbits/alia :version] [org.clojure/test.check "1.1.0"]]) diff --git a/modules/alia/project.clj b/modules/alia/project.clj index 91c7eea..5f80795 100644 --- a/modules/alia/project.clj +++ b/modules/alia/project.clj @@ -1,6 +1,7 @@ (defproject cc.qbits/alia "_" - :plugins [[lein-parent "0.3.8"]] + :plugins [[lein-parent "0.3.8"] + [exoscale/lein-replace "0.1.1"]] :parent-project {:path "../../project.clj" :inherit [:version @@ -18,7 +19,7 @@ :url "https://github.com/mpenet/alia" :dir "../.."} - :dependencies [[org.clojure/clojure] + :dependencies [[org.clojure/clojure "1.10.1" :scope "provided"] [cc.qbits/commons "0.5.2"] [com.datastax.oss/java-driver-core-shaded "4.9.0"]] diff --git a/project.clj b/project.clj index 9845e08..21de974 100644 --- a/project.clj +++ b/project.clj @@ -14,8 +14,7 @@ :deploy-repositories [["releases" :clojars] ["snapshots" :clojars]] - :managed-dependencies [[org.clojure/clojure "1.10.1"] - [cc.qbits/alia :version] + :managed-dependencies [[cc.qbits/alia :version] [cc.qbits/alia-manifold :version] [cc.qbits/alia-async :version] [cc.qbits/alia-joda-time :version] @@ -24,7 +23,7 @@ [cc.qbits/alia-component :version]] ;; cljdoc needs explicit versions on top-level deps - :dependencies [[org.clojure/clojure "1.10.1"] + :dependencies [[org.clojure/clojure "1.10.1" :scope "provided"] [cc.qbits/alia :version] [cc.qbits/alia-manifold :version] [cc.qbits/alia-async :version] @@ -41,7 +40,8 @@ "modules/alia-spec" "modules/alia-component"] - :profiles {:dev {:dependencies [[org.xerial.snappy/snappy-java "1.0.5"] + :profiles {:dev {:dependencies [[org.clojure/clojure "1.10.1"] + [org.xerial.snappy/snappy-java "1.0.5"] [cc.qbits/hayt "4.1.0" :exclusions [org.apache.commons/commons-lang3 cc.qbits/commons]]