Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions leiningen/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

This requires Leiningen installed. Please refer to [this link](http://leiningen.org/#install) for step-by-step installation instructions.

**Your package also needs to exist on Bintray for this to work, so make sure to create it before running 'lein deploy'**

After installing Leiningen, cd into your project.clj directory and run 'lein deploy'. This will build this project sample and deploy it to your Maven repo on Bintray.

Please make sure to replace the username and API key with the placeholders inside the project file with your own.
20 changes: 13 additions & 7 deletions leiningen/project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,20 @@
(defproject cloj-bintray "1.0.0"
;; ...
:deploy-repositories
[["releases"
{:url "https://api.bintray.com/maven/:subject/:repo/:package/"
[
["releases"
{:url "https://api.bintray.com/maven/:subject/:repo/:package"
:sign-releases false
:username "<bintray_user>"
:password "<bintray_api_key>}]
:username "username"
:password "apiKey"
}
]
["snapshots"
{:url "https://api.bintray.com/maven/:subject/:repo/:package/"
:username "<bintray_user>"
:password "<bintray_api_key>}]]
{:url "https://api.bintray.com/maven/:subject/:repo/:package"
:username "username"
:password "apiKey"
}
]
]
;; ...
:profiles {:dev {:source-paths ["dev"]}})