1. 程式人生 > >IDEA 生成 jar 包

IDEA 生成 jar 包

bsp .com width 所有 settings nbsp png jar -1

Build -> Build Artifacts -> ...

技術分享

技術分享

生成的 jar 包在 out/artifacts 目錄下

生成單一 jar 包:

在項目上右擊 -> Open Module Settings

在新界面左面點擊 Artifacts,點擊 +

技術分享

技術分享

技術分享

選項一為生成單一 jar 包,選項二為生成的所有 jar 包

OK -> Apply -> OK

然後在 Build 裏面重新生成 jar 包

IDEA 生成 jar 包