首页 > 解决方案 > 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:

  1. file -> project structure
  2. add jar -> from modules with dependencies
  3. 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?

标签: intellij-ideakotlin

解决方案


推荐阅读