Permalink
Browse files

Add Leiningen support.

  • Loading branch information...
1 parent 68a9d43 commit bcbb7b26770b4407b156dc95d0341c17c3911687 @rnewman committed Jan 17, 2010
Showing with 15 additions and 2 deletions.
  1. +9 −2 README.markdown
  2. +6 −0 project.clj
View
@@ -16,12 +16,19 @@ For real-world code using this library, see the `clj-mql` project:
<https://github.com/rnewman/clj-mql/tree/master>
-# Building #
+# Building with Ant #
-Simply use `ant`, optionally passing `-Dclojure.jar="..."` and `-Dclojure.contrib.jar="..."`.
+Invoke `ant`, optionally passing `-Dclojure.jar="..."` and `-Dclojure.contrib.jar="..."`.
Put `clj-apache-http.jar` on your classpath.
+# Building with Leiningen #
+
+If you use Leiningen, run `lein uberjar`. This will download the necessary
+dependencies and build a single .jar named `clj-apache-http-standalone.jar`.
+
+You can also refer to `com.twinql.clojure/clj-apache-http "1.0"` in Leiningen
+or Maven to have the dependency automatically satisfied.
# Loading #
View
@@ -0,0 +1,6 @@
+(defproject com.twinql.clojure/clj-apache-http "1.0"
+ :description "Clojure HTTP library using the Apache HttpClient."
+ :dependencies [[org.apache.httpcomponents/httpcore "4.0-beta3"]
+ [org.apache.httpcomponents/httpmime "4.0-beta2"]
+ [commons-logging/commons-logging "1.1.1"]
+ [org.apache.httpcomponents/httpclient "4.0-beta2"]])

0 comments on commit bcbb7b2

Please sign in to comment.