Gradle Artifacts: Difference between revisions
Jump to navigation
Jump to search
Line 13: | Line 13: | ||
Typical artifacts: | Typical artifacts: | ||
* | * A library JAR that includes the functionality exposed by the Java project. | ||
* An executable JVM application that bundles all application JARS, transitive dependencies, the bash wrapper scripts and other operating system specific scripts into a ZIP file. This type of artifact is produced by the [[, custom files from project file structure, and it also generates the bash and Windows wrapper scripts to run the application with | |||
=The Application Plugin= | =The Application Plugin= |
Revision as of 00:57, 24 February 2019
Internal
Overview
A Gradle project may produce zero, one or more artifacts. An artifact may be built locally by a plugin such as the Application plugin, which in turn delegates the artifact building part to Distribution plugin, or by other plugins. The artifact building plugins create the artifact locally, in the project build area. This article describes the process of configuring and executing the artifact generation. For details on how the artifacts can be published, see:
Artifact
A Gradle artifact is a file the project builds and shares with the outside world.
Typical artifacts:
- A library JAR that includes the functionality exposed by the Java project.
- An executable JVM application that bundles all application JARS, transitive dependencies, the bash wrapper scripts and other operating system specific scripts into a ZIP file. This type of artifact is produced by the [[, custom files from project file structure, and it also generates the bash and Windows wrapper scripts to run the application with