Add source files to the jar
This commit is contained in:
parent
e3571007bf
commit
45015b60b2
1 changed files with 3 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue