Skip to content

Commit

Permalink
Add Leiningen support.
Browse files Browse the repository at this point in the history
  • Loading branch information
rnewman committed Jan 17, 2010
1 parent 68a9d43 commit bcbb7b2
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
11 changes: 9 additions & 2 deletions README.markdown
Expand Up @@ -16,12 +16,19 @@ For real-world code using this library, see the `clj-mql` project:
<https://github.com/rnewman/clj-mql/tree/master> <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. 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 # # Loading #


Expand Down
6 changes: 6 additions & 0 deletions project.clj
@@ -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.