Skip to content
Copy resources from :java-source-paths to compile path
Find file
Latest commit a4dc94c Shantanu Kumar committed with fix #1 - mention what :omit-source fully implies in README


Leiningen plugin to work with resource files in :java-source-paths.

This plugin is meant to be used on projects with legacy Java code bases where resource files are placed with Java source files.


Include the plugin in the :plugins vector in project.clj:

:plugins [[lein-javac-resources "0.1.1"]]
:omit-source true  ; excludes .java and .clj files from the generated JAR file
                   ; you may not want to set this unless all code is AOT-compiled
:hooks [leiningen.javac-resources]


Copyright © 2014-2015 Shantanu Kumar

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.

Something went wrong with that request. Please try again.