Last active
August 29, 2015 14:24
-
-
Save dkarvik/b4a861659b0d5c5a0249 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (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") | |
| ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (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