IntelliJ: Including jars in a jar artifact

前端 未结 3 1011
失恋的感觉
失恋的感觉 2021-01-21 03:33

Developing on the Mac with IntelliJ 9.0.2 Community Edition.

I have a program which depends on two library jars. I have figured out how to get IntelliJ to make me a jar

3条回答
  •  北海茫月
    2021-01-21 04:01

    IDEA doesn't support it yet, you can use Ant integration to package your jar (either by unpacking all the jars into the temp folder and then packaging the project output plus this temp folder into the single jar or by using some Ant task like jarjar).

    If you want this feature to appear in the future IDEA versions, please vote for the request.

提交回复
热议问题