Update template in preparation for 0.3.0

This commit is contained in:
oakes
2014-04-11 16:35:59 -04:00
parent 52d5322b20
commit cdfd77a8be
10 changed files with 14 additions and 14 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -12,7 +12,7 @@ public class {{android-class-name}} extends AndroidApplication {
RT.var("clojure.core", "require").invoke(Symbol.intern("{{namespace}}")); RT.var("clojure.core", "require").invoke(Symbol.intern("{{namespace}}"));
try { try {
Game game = (Game) RT.var("{{namespace}}", "{{app-name}}").deref(); Game game = (Game) RT.var("{{namespace}}", "{{app-name}}").deref();
initialize(game, true); initialize(game);
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
} }

View File

@@ -1,11 +1,11 @@
(defproject {{app-name}} "0.0.1-SNAPSHOT" (defproject {{app-name}} "0.0.1-SNAPSHOT"
:description "FIXME: write description" :description "FIXME: write description"
:dependencies [[com.badlogicgames.gdx/gdx "0.9.9" :use-resources true] :dependencies [[com.badlogicgames.gdx/gdx "1.0" :use-resources true]
[com.badlogicgames.gdx/gdx-backend-android "0.9.9"] [com.badlogicgames.gdx/gdx-backend-android "1.0"]
[neko/neko "3.0.1"] [neko/neko "3.0.1"]
[org.clojure-android/clojure "1.5.1-jb" :use-resources true] [org.clojure-android/clojure "1.5.1-jb" :use-resources true]
[play-clj "0.2.4"]] [play-clj "0.3.0"]]
:profiles {:dev {:dependencies [[android/tools.nrepl "0.2.0-bigstack"] :profiles {:dev {:dependencies [[android/tools.nrepl "0.2.0-bigstack"]
[compliment "0.0.3"]] [compliment "0.0.3"]]
:android {:aot :all-with-unused}} :android {:aot :all-with-unused}}

View File

@@ -6,5 +6,5 @@
(defn -main (defn -main
[] []
(LwjglApplication. {{app-name}} "{{app-name}}" 800 600 true) (LwjglApplication. {{app-name}} "{{app-name}}" 800 600)
(Keyboard/enableRepeatEvents true)) (Keyboard/enableRepeatEvents true))

View File

@@ -1,12 +1,12 @@
(defproject {{app-name}} "0.0.1-SNAPSHOT" (defproject {{app-name}} "0.0.1-SNAPSHOT"
:description "FIXME: write description" :description "FIXME: write description"
:dependencies [[com.badlogicgames.gdx/gdx "0.9.9"] :dependencies [[com.badlogicgames.gdx/gdx "1.0"]
[com.badlogicgames.gdx/gdx-backend-lwjgl "0.9.9"] [com.badlogicgames.gdx/gdx-backend-lwjgl "1.0"]
[com.badlogicgames.gdx/gdx-platform "0.9.9" [com.badlogicgames.gdx/gdx-platform "1.0"
:classifier "natives-desktop"] :classifier "natives-desktop"]
[org.clojure/clojure "1.5.1"] [org.clojure/clojure "1.6.0"]
[play-clj "0.2.4"]] [play-clj "0.3.0"]]
:source-paths ["src" "src-common"] :source-paths ["src" "src-common"]
:javac-options ["-target" "1.6" "-source" "1.6" "-Xlint:-options"] :javac-options ["-target" "1.6" "-source" "1.6" "-Xlint:-options"]

View File

@@ -1,9 +1,9 @@
(defproject {{app-name}} "0.0.1-SNAPSHOT" (defproject {{app-name}} "0.0.1-SNAPSHOT"
:description "FIXME: write description" :description "FIXME: write description"
:dependencies [[com.badlogicgames.gdx/gdx "0.9.9"] :dependencies [[com.badlogicgames.gdx/gdx "1.0"]
[com.badlogicgames.gdx/gdx-backend-robovm "0.9.9"] [com.badlogicgames.gdx/gdx-backend-robovm "1.0"]
[org.clojure/clojure "1.5.1"] [org.clojure/clojure "1.6.0"]
[play-clj "0.2.4"]] [play-clj "0.3.0"]]
:source-paths ["src/clojure" "../desktop/src-common"] :source-paths ["src/clojure" "../desktop/src-common"]
:java-source-paths ["src/java"] :java-source-paths ["src/java"]
:javac-options ["-target" "1.7" "-source" "1.7" "-Xlint:-options"] :javac-options ["-target" "1.7" "-source" "1.7" "-Xlint:-options"]