Skip to content
Snippets Groups Projects
Commit 5b7a9271 authored by Mariell's avatar Mariell :speech_balloon:
Browse files

Fix some things I completely forgot/overlooked.

parent 0c3abcd2
No related branches found
No related tags found
No related merge requests found
(defproject bukkit4clojure "0.1.0-SNAPSHOT" (defproject bukkit4clojure "0.1.0-SNAPSHOT"
:description "A Clojure wrapper for Bukkit." :description "A Clojure wrapper for Bukkit."
:url "https://github.com/Project-Coalesce/Bukkit4Clojure" :url "https://github.com/Proximyst/Bukkit4Clojure"
:license {:name "MIT License" :license {:name "MIT License"
:url "https://github.com/Project-Coalesce/Bukkit4Clojure/blob/master/LICENSE"} :url "https://github.com/Proximyst/Bukkit4Clojure/blob/master/LICENSE"}
:dependencies [[org.clojure/clojure "1.8.0"]] :dependencies [[org.clojure/clojure "1.8.0"]]
:repositories {"spigot-repo" "https://hub.spigotmc.org/nexus/content/repositories/snapshots/"} :repositories {"spigot-repo" "https://hub.spigotmc.org/nexus/content/repositories/snapshots/"}
:main com.coalesce.core :main com.proximyst.bukkitforclojure.example.example
:java-source-paths ["src"] :java-source-paths ["src"]
:source-paths ["src"] :source-paths ["src"]
:target-path "target/%s" :target-path "target/%s"
......
clojure: com.coalesce.bukkitforclojure.example.example clojure: com.proximyst.bukkitforclojure.example.example
\ No newline at end of file \ No newline at end of file
...@@ -3,5 +3,5 @@ author: Proximyst ...@@ -3,5 +3,5 @@ author: Proximyst
version: 0.1.0-SNAPSHOT version: 0.1.0-SNAPSHOT
main: com.proximyst.bukkit4clojure.example.javaplugin main: com.proximyst.bukkit4clojure.example.javaplugin
#commands: commands:
#clojure: clojure:
\ No newline at end of file \ No newline at end of file
(ns ^{:author "Project Coalesce" (ns ^{:author "Proximyst"
:description "An example plugin for Bukkit4Clojure"} :description "An example plugin for Bukkit4Clojure"}
com.coalesce.bukkitforclojure.example.example com.proximyst.bukkitforclojure.example.example
(:gen-class) (:gen-class)
(:import [org.bukkit.plugin PluginDescriptionFile] (:import [org.bukkit.plugin PluginDescriptionFile]
[org.bukkit.configuration.file FileConfiguration] [org.bukkit.configuration.file FileConfiguration]
...@@ -39,4 +39,10 @@ com.coalesce.bukkitforclojure.example.example ...@@ -39,4 +39,10 @@ com.coalesce.bukkitforclojure.example.example
(def pdf pdf_) (def pdf pdf_)
(def server server_) (def server server_)
(def logger logger_) (def logger logger_)
)
(defn -main
[]
(prn "You should try using this as a plugin instead.")
(System/exit 0)
) )
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment