Skip to content

Instantly share code, notes, and snippets.

@talios
Created December 6, 2009 07:23
Show Gist options
  • Save talios/250115 to your computer and use it in GitHub Desktop.
Save talios/250115 to your computer and use it in GitHub Desktop.
; Define the project and store in a variable
(def project (defproject "a:b:c"
:dependencies ["org.clojure:clojure:1.1.0-alpha-SNAPSHOT"
"org.clojure:clojure-contrib:1.0-SNAPSHOT"]))
; Use the provided API to easily add a new dependency programatically
(add-dependency! project "org.testng:testng:5.10")
; Return the project
project
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment