Skip to content

Instantly share code, notes, and snippets.

@j1n3l0
Created March 29, 2012 16:25
Show Gist options
  • Save j1n3l0/2239353 to your computer and use it in GitHub Desktop.
Save j1n3l0/2239353 to your computer and use it in GitHub Desktop.
loving lein2 dynamic dependencies :) #clojure #lein2 #pomegranate #quil
$ lein2 repl
Welcome to REPL-y!
Clojure 1.3.0
user=> (use '[cemerick.pomegranate :only (add-dependencies)])
nil
user=> (add-dependencies :coordinates '[[quil "1.0.0-SNAPSHOT"]])
ArtifactNotFoundException Could not find artifact quil:quil:jar:1.0.0-SNAPSHOT in central (http://repo1.maven.org/maven2/) org.sonatype.aether.connector.wagon.WagonRepositoryConnector$4.wrap (WagonRepositoryConnector.java:946)
user=> (add-dependencies :coordinates '[[quil "1.0.0-SNAPSHOT"]] :repositories (merge cemerick.pomegranate.aether/maven-central {"clojars" "http://clojars.org/repo"}))
user=> (use 'quil.core)
nilReflection warning, quil/util.clj:30 - reference to field length can't be resolved.
Reflection warning, quil/util.clj:50 - reference to field length can't be resolved.
Reflection warning, quil/applet.clj:18 - reference to field stop can't be resolved.
Reflection warning, quil/applet.clj:28 - reference to field start can't be resolved.
Reflection warning, quil/applet.clj:33 - reference to field exit can't be resolved.
Reflection warning, quil/applet.clj:37 - reference to field stop can't be resolved.
Reflection warning, quil/applet.clj:45 - reference to field hide can't be resolved.
Reflection warning, quil/applet.clj:45 - reference to field dispose can't be resolved.
Reflection warning, quil/applet.clj:62 - reference to field meta can't be resolved.
Reflection warning, quil/applet.clj:66 - call to javax.swing.JFrame ctor can't be resolved.
Reflection warning, quil/applet.clj:67 - call to add can't be resolved.
Reflection warning, quil/applet.clj:91 - reference to field init can't be resolved.
Reflection warning, quil/applet.clj:240 - call to mouseReleased can't be resolved.
Reflection warning, quil/applet.clj:291 - call to mouseExited can't be resolved.
Reflection warning, quil/applet.clj:261 - call to mouseClicked can't be resolved.
Reflection warning, quil/applet.clj:212 - call to keyPressed can't be resolved.
Reflection warning, quil/applet.clj:226 - call to keyTyped can't be resolved.
Reflection warning, quil/applet.clj:254 - call to mouseDragged can't be resolved.
Reflection warning, quil/applet.clj:247 - call to mouseMoved can't be resolved.
Reflection warning, quil/applet.clj:283 - call to mouseEntered can't be resolved.
Reflection warning, quil/applet.clj:267 - call to focusGained can't be resolved.
Reflection warning, quil/applet.clj:275 - call to focusLost can't be resolved.
Reflection warning, quil/applet.clj:219 - call to keyReleased can't be resolved.
Reflection warning, quil/applet.clj:233 - call to mousePressed can't be resolved.
Reflection warning, quil/core.clj:572 - call to binary can't be resolved.
Reflection warning, quil/core.clj:1674 - call to hex can't be resolved.
Reflection warning, quil/core.clj:3163 - reference to field width can't be resolved.
Reflection warning, quil/core.clj:3178 - reference to field height can't be resolved.
Reflection warning, quil/core.clj:3447 - call to specular can't be resolved.
Reflection warning, quil/core.clj:3449 - call to specular can't be resolved.
Reflection warning, quil/core.clj:3920 - call to textWidth can't be resolved.
Reflection warning, quil/core.clj:4166 - call to startsWith can't be resolved.
user=> (sketch :setup (fn [] (background 20) (ellipse 50 50 80 80)) :title "The moon delights the night")
#<PApplet$IMeta$c506c738 quil.applet.proxy$processing.core.PApplet$IMeta$c506c738[panel0,0,0,500x300,layout=java.awt.FlowLayout]>
user=>
@j1n3l0
Copy link
Author

j1n3l0 commented Mar 29, 2012

Would be nice if I didn't have to add/manage/update :repositories each time and by default it contained maven-central and clojars ;)

@timewarrior
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment