I have an API that I need to export, but a lot of code that I would like to leave out of prying eyes. If I include: omit-sources true, then the entire code base disappears and my API is no longer compiled.
How can this be achieved? I will try to use git submodules, but I am wondering if there is an alternative approach compatible with my current project layout, as in, exclude everything except the package.
Edit: I have data_readers.clj that won't get into the JAR if I use: omit-sources
What I am doing now includes: filespecs [{: type: bytes: path "data_readers.clj": bytes ~ (slurp "src / main / shared / clj / data_readers.clj")}]
to include the file manually, but this causes problems in the Cursive IntelliJ plugin.
source share