-
Notifications
You must be signed in to change notification settings - Fork 1
/
project.clj
25 lines (21 loc) · 1.02 KB
/
project.clj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
(defproject birds "0.1.0-SNAPSHOT"
:description "Example Frege-calls-custom-Java-class application, with dependency on jline"
:url "https://github.com/Ingo60/birds"
:license {:name "BSD 2 clause"
:url "https://github.com/Ingo60/birds/blob/master/LICENSE"}
:dependencies [;; Uncomment the following line if there is clojure code
;; [org.clojure/clojure "1.6.0"]
;; need to depend on Frege for runtime:
;; You may adapt the frege compiler version
;;[com.theoryinpractise.frege/frege "3.24-7.30"]
;; put here what is needed in addition
[jline/jline "1.0"]]
;; A MUST, this is the plugin that makes all this possible
:plugins [[lein-fregec "3.23.450"]]
;; Good: The java source can be in the same directory as the frege stuff!
:java-source-paths ["src"]
:frege-source-paths ["src"]
:target-path "bin"
:main birds.Main
:profiles {:uberjar {:aot :all
:prep-tasks ["javac" "fregec"]}})