Thanks for the replies. I'd experimented with:

:repositories [["libgdx" "http://libgdx.badlogicgames.com/nightlies/maven/";
]]

...but I hadn't been able to get it working, and because I wasn't sure 
whether this was the right approach, I hadn't persevered with it.

I just tried creating a new project with "lein new app newlibgdx" and 
edited project.clj to include:

:dependencies [[org.clojure/clojure "1.4.0"][com.badlogicgames.libgdx/gdx 
"0.9.9"]] :repositories [["libgdx" 
"http://libgdx.badlogicgames.com/nightlies/maven/";]]

When I ran "lein deps" from within the project folder, I got the error:

"Could not find artifact com.badlogicgames.libgdx:gdx:jar::0.9.9 in libgdx 
(http://libgdx.badlogicgames.com/nightlies/maven)"

I took a look at the folder structure of that website, and noticed that the 
gdx folder was in fact located at:

http://libgdx.badlogicgames.com/nightlies/maven/com/badlogic/gdx/gdx

...so I tried changing the entry in "dependencies" to:

[com.badlogic.gdx/gdx "0.9.9"]

...but "lein deps" still doesn't find it. Perhaps I'm still getting the 
syntax wrong...?

Re: the comment about Android, the main reason for using LibGDX was for 
Android deployment...so are you saying that won't work...? I came across an 
Android app called "Bounce Away" which I understood was created almost 
entirely using Clojure and LibGDX, so I was encouraged by that...

https://play.google.com/store/apps/details?id=com.friendlyvillagers.ballz&hl=en

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to