intellij-idea - Building small jars with kotlin
问题描述
My jar files become huge, when I remove libraries from output the jar doesn't run.
These are my steps:
- file -> project structure
- add jar -> from modules with dependencies
- select main class
Now, if I keep all extracted jars (libgdx, junit and kotlin) the jar file becomes too large. If I remove them all the jar won't run.
How do I know what to remove and what to keep?
解决方案
推荐阅读
- css - 更改标记集群 css
- regex - 如何使用 grep/sed/awk 从文本文件的开头删除模式
- profiler - AMD CPU的功耗
- windows - 使用 PNP Windows 下载文件/图像
- django - 设置 apache2 用于路由内部请求
- python - Elastic Beanstalk 上的 Django 查询问题
- oracle-apex - Oracle apex QR 码扫描器插件问题
- javascript - 量角器中的 Serenity JS by.tagName('a')[0] 返回未定义
- html - 网站停止并重新启动,出现任何错误消息
- jwt - TGT 令牌生成时 CAS 服务器响应缓慢