Package Avail Artifact
An object that contains the configuration state for building an Avail artifact.
Author
Richard Arriaga
Properties
The MessageDigest algorithm to use to create the digests for all the Avail roots' contents. This must be a valid algorithm accessible from java.security.MessageDigest.getInstance.
The base name to give to the created artifact.
The AvailArtifactType of the AvailArtifact to create.
Create an AvailArtifactBuildPlan from the PackageAvailArtifact.
The title of the artifact being created that will be added to the jar manifest (Attributes.Name.IMPLEMENTATION_TITLE).
true includes the version #, false,
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 project-relative path to the directory location where the jar file is to be written.
The PackageType of the target artifact build.
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 absolute path to the jar file that will be created.
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 the string path to the JarFile to be included in the artifact jar.
Add a custom field to the manifest file of an Avail artifact.
Add the ZipFile to be included in the artifact jar.
Add a dependency to be included in the jar.
Exclude the provided AvailRoot.name from the artifact.