Leiningen driving a Java app
You can't stand Maven and want lein to manage the build of a Java app?
I suggest using a Clojure "main" to make life easier. All it does is use environ to get configuration data, then instantiates the Java class which is your real main.
I also suggest using SLF4J logging with the Log4J2 driver because of the excellent Disruptor-based AsyncLoggers and simple YAML configuration (and lovely colored formatters).
As you are writing a Java app, you probably want JUnit4 as well.
Here is a sample project.clj to do the work for you:
Written by Josh Graham
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Clojure
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#