Create Avail Artifact Jar
Perform all tasks necessary to package the Avail Standard Library as an AvailArtifact.
This performs the following tasks:
Creates the ArtifactDescriptor file.
Creates the AvailArtifactManifest file.
Creates source digests file.
Author
Richard Arriaga
Properties
The description of the AvailArtifact used in the AvailArtifactManifest.
The MessageDigest algorithm to use to create the digests for all the Avail roots' contents included in the artifact. This must be a valid algorithm accessible from java.security.MessageDigest.getInstance.
The base name of the artifact.
The AvailArtifactType of the AvailArtifact to create.
The title of the artifact being created that will be added to the jar manifest (Attributes.Name.IMPLEMENTATION_TITLE).
The Attributes.Name.MAIN_CLASS for the manifest or an empty string if no main class set. This should be the primary main class for starting the application.
The absolute path to the directory location where the jar file is to be written.
The ProjectHome of the AvailProject configuration file to use as the source of information project specific details to include in the artifact build. This defaults to AvailProject.CONFIG_FILE_NAME, "avail-config.json" in the project directory.
The version to give to the created artifact (Attributes.Name.IMPLEMENTATION_VERSION).
Functions
Add the directory to be included in the artifact jar. This must be a directory: File.isDirectory.
Add a custom field to the manifest file of an Avail artifact.
Add the ZipFile to be included in the artifact jar.
Construct the AvailArtifactJar.
Add a dependency to be included in the jar.