sbt-onejar
sbt-onejar copied to clipboard
include main/resources in the jar
Hello,
I have a file in main/resources and I want to include it in the jar. It is not included when running one-jar. Is there a way to include it ?
Hi Stla, You can include it by explicitly providing through java options.
java -Dlogback.configurationFile="config.xml" -jar one-jar.jar
I had the same issue and resolved it like the above line.