Skip to content

Instantly share code, notes, and snippets.

@dkarvik
Last active August 29, 2015 14:24
Show Gist options
  • Select an option

  • Save dkarvik/b4a861659b0d5c5a0249 to your computer and use it in GitHub Desktop.

Select an option

Save dkarvik/b4a861659b0d5c5a0249 to your computer and use it in GitHub Desktop.
(ns fireballz.core
(:gen-class
:extends org.bukkit.plugin.java.JavaPlugin
))
(defn -onEnable
"Runs when the plugin is started"
[]
(println "Hello, I am a plugin")
)
(defproject fireballz "0.1.0-SNAPSHOT"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [
[org.clojure/clojure "1.6.0"]
[org.bukkit/bukkit "1.8.7-R0.1"]
[org.avaje/ebean "2.7.1"]
]
:plugins [[lein-localrepo "0.5.3"]]
;; :javac-options [ "-d" "classes/" "-source" "1.6" "-target" "1.6"]
;; :main ^:skip-aot fireballz.core
:main fireballz.core :aot :all
:target-path "target/%s"
:profiles {:uberjar {:aot :all}})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment