# 从模块创建 JAR 对话框

> For the complete documentation index, see [llms.txt](https://www.jetbrains.com/zh-cn/help/idea/llms.txt).

> **TL;DR**
> `文件 | 项目结构 | 工件 |`  !["添加"按钮](https://resources.jetbrains.com/help/img/idea/2026.3/MANIFEST.MF`  的目录路径。    如果您使用 IntelliJ IDEA 构建 JAR 文件，IntelliJ IDEA 将自动选择  `MANIFEST.MF`  文件的位置。 如果您使用其他构建系统（如 Gradle 或 Maven），您需要使用  `resources` 文件夹来存储  `MANIFEST.MF` 文件。     |
|  包含测试  |  包括该模块编译过的测试类。  |

有关创建和构建 JAR 工件的更多信息，请参阅 [在 JAR 中打包应用程序](creating-and-running-your-first-java-application.html#package)。

## See also

### 过程

[构件](working-with-artifacts.html)

