java - How to use referenced libraries in exported JAR -


i using gradle, , need know how make sure users of java program have gson library installed use. there way so? (i avoid bundling program, if that's has come to, ok).

there no standardized way distribute standalone jvm application, dependencies bundled. option gradle use gradle-one-jar plugin, produce single executable jar (java -jar path/to/the.jar) containing code , dependencies. option use gradle's built-in distribution plugin, produce zip containing code, dependencies, start scripts *nix , windows, , else want ship along application (e.g documentation).


Comments

Popular posts from this blog

C# random value from dictionary and tuple -

cgi - How do I interpret URLs without extension as files rather than missing directories in nginx? -

.htaccess - htaccess convert request to clean url and add slash at the end of the url -