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

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

c++ - Visual Leak Detector detects leak on new blank MFC project -

c# - Connection String Trouble MetaDataException -