u/vkjrin r/Clojure • Recommends
Creating jars and uberjars with tools.build for Clojure projects (video)
967 subscribers • 5 videos on Hallway
Intermediate. Assumes working knowledge.
3.5K views4 years ago1 recommendation
Programming languagesTools and practiceLisp and ClojureBuild systems and packaging
Volodymyr Kozieiev explains how to package Clojure applications into jars and uberjars using the tools.build library.
In this Clojure tutorial we will learn how to create a jar or uberjar using tools.build library. How to create build.clj file with build functions and create an alias in deps.edn to invoke build functions via Clojure CLI 🇺🇦 Help Ukraine: send.monobank.ua/jar/7jhDduufL7 👷♂️ btw, did you notice at what minute my neighbor decided to start drilling?) ⏰ Timecodes ⏰ steps to run Clojure app on JVM what is jar file MANIFEST.mf - jar info file pom.xml - Maven configuration what should library jar contain what should be packed in application jar (uberjar)? library example main idea behind tools.build library creating build alias in deps.edn writing (jar) function to pack your library how to modify MANIFEST.mf using tools.build api how to modify pom.xml file using tools.build api creating jar with runnable Clojure application using (uber) from tools.build to create application uberjar Thanks! 🔗 My site: kozieiev.com/ 🔗 tools.build API: clojure.github.io/tools.build/clojure.tools.build.api.html 🔗 MANIFEST.mf in Java documentation: docs.oracle.com/javase/tutorial/deployment/jar/manifestindex… 🔗 pom.xml in Maven documentation: maven.apache.org/guides/introduction/introduction-to-the-pom…What people say. Recommended as a clear tutorial on packaging Clojure projects using modern tools.
u/vkjrin r/Clojure • Recommends