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

database - VFP Grid + SQL server 2008 - grid not showing correctly -

jquery - Set jPicker field to empty value -

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