Hello all. What the difference btw uberjar from boot and from lein? I´ve never got success from boot.
(defproject baydlock "1.0.0"
:description ""
:dependencies [
[org.clojure/clojure "1.10.1"]
;; Banco de dados
[org.clojure/java.jdbc "0.7.8"]
[com.microsoft.sqlserver/mssql-jdbc "7.0.0.jre8"]
[mount "0.1.16"]
;; Log
[com.taoensso/timbre "4.10.0"]
;; Configuração
[levand/immuconf "0.1.0"]
[overtone/at-at "1.2.0"]
;; Encription
[lock-key "1.5.0"]]
:source-paths ["src"]
:main ^:skip-aot app.core
:uberjar-name "baydlock.jar"
:profiles {:uberjar {:aot :all}})
(set-env!
:source-paths #{"src"}
:dependencies '[
[org.clojure/clojure "1.10.1"]
[org.clojure/core.async "0.4.500"]
;; Banco de dados
[org.clojure/java.jdbc "0.7.8"]
[com.microsoft.sqlserver/mssql-jdbc "7.0.0.jre8"]
[mount "0.1.16"]
;; Log
[com.taoensso/timbre "4.10.0"]
;; Configuração
[levand/immuconf "0.1.0"]
[overtone/at-at "1.2.0"]
;; Encription
[lock-key "1.5.0"]])
(task-options!
pom {:project 'baydlock
:version "1.0.0"}
jar {:main 'app.core}
aot {:all true})
(deftask build
[]
(comp (aot) (pom) (uber) (jar) (target)))
Do you get an error running boot build
? I haven't tried running this but it does look alright to me
we build uberjars with boot all the time, so it should definitely be possible to get it working
same - haven't had issues, and I've been building uberjars for a long time with boot