IntelliJ IDEA 2021.1 Help

Artifacts

File | Project Structure | Artifacts
Ctrl+Alt+Shift+S | Artifacts
the Project Structure button | Artifacts

For instructions on how to work with artifacts, refer to Work with artifacts.

Project Structure dialog / Artifacts page
NameThe name of the artifact configuration and also that of the artifact.
TypeThe artifact type. Defines the artifact format and structure, highlighting of problematic parts in the artifact layout as well as the options that IntelliJ IDEA suggests (or assumes acceptable) in relation to the artifact composition.
Output directory

The artifact, when built (Build | Build Artifacts ), is placed into the directory whose path is specified in this field.

If the artifact is not going to be used on its own but only as a part of other artifacts, the field may be left empty. In this case, the artifact will not appear in the suggestion list on choosing Build | Build Artifacts and no target will be generated for it in build.xml on choosing Build | Generate Ant Build.

Include in project buildBuild the artifact automatically when building the project (Build | Build Project ).
Last modified: 08 March 2021