简体   繁体   中英

Add external libraries in new library/jar-file

Is it possible to export a JAR File with IntelliJ using Gradle, containing other libraries/jar? I am using Gradle dependencies to import the external code.

So if someone wants to use my final library or jar file the person does not have to import my lib files and the external lib files separately.

您需要的解决方案是Gradle Shadow插件

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM