From 523d39a52533097e58ecc6e1580c9a8eda1f6551 Mon Sep 17 00:00:00 2001 From: Uriah Levy Date: Wed, 11 May 2016 13:18:55 -0700 Subject: [PATCH 1/2] Update project.clj --- leiningen/project.clj | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/leiningen/project.clj b/leiningen/project.clj index 9a9ca28..256c90f 100644 --- a/leiningen/project.clj +++ b/leiningen/project.clj @@ -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 "" - :password "}] + :username "username" + :password "apiKey" + } + ] ["snapshots" - {:url "https://api.bintray.com/maven/:subject/:repo/:package/" - :username "" - :password "}]] + {:url "https://api.bintray.com/maven/:subject/:repo/:package" + :username "username" + :password "apiKey" + } + ] + ] ;; ... :profiles {:dev {:source-paths ["dev"]}}) From 0184dfba4a25e1043362198d5b413a8a8e21b993 Mon Sep 17 00:00:00 2001 From: Uriah Levy Date: Wed, 11 May 2016 13:19:47 -0700 Subject: [PATCH 2/2] Update README.md --- leiningen/README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/leiningen/README.md b/leiningen/README.md index 3260dab..5a57d72 100644 --- a/leiningen/README.md +++ b/leiningen/README.md @@ -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.