From 45015b60b2c010ef0b5d5279cabd296752e3f18c Mon Sep 17 00:00:00 2001 From: Joshua Suskalo Date: Tue, 28 Sep 2021 19:50:15 -0500 Subject: [PATCH] Add source files to the jar --- build.clj | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build.clj b/build.clj index 3c37552..06cb83d 100644 --- a/build.clj +++ b/build.clj @@ -95,8 +95,11 @@ This is a thin jar including only the sources." [opts] (write-pom opts) + (compile-java opts) (copy-resources opts) (when-not (exists? target-dir jar-file) + (b/copy-dir {:target-dir class-dir + :src-dirs source-dirs}) (b/jar {:class-dir class-dir :jar-file jar-file})) opts)