createAvailArtifactJar

fun createAvailArtifactJar(    version: String,     outputLocation: String,     artifactType: AvailArtifactType,     jvmComponent: JvmComponent,     implementationTitle: String,     jarMainClass: String,     artifactDescription: String,     roots: List<AvailRoot>,     includedFiles: List<Pair<File, String>>,     jars: List<JarFile>,     zipFiles: List<ZipFile>,     directories: List<File>,     customManifestItems: Map<String, String>,     dependencyConfiguration: Configuration)

Create an AvailArtifactJar.

Parameters

version

The version to give to the created artifact (Attributes.Name.IMPLEMENTATION_VERSION).

outputLocation

The Jar file location where the jar file will be written.

artifactType

The AvailArtifactType of the AvailArtifact to create.

jvmComponent

The JvmComponent if any to be used.

implementationTitle

The title of the artifact being created that will be added to the jar manifest (Attributes.Name.IMPLEMENTATION_TITLE).

artifactDescription

The description of the AvailArtifact used in the AvailArtifactManifest.

roots

The list of AvailRoots to add to the artifact jar.

includedFiles

The list of File - target directory inside artifact for it to be placed Pairs.

jars

The list of JarFiles to add to the artifact jar.

zipFiles

The list of ZipFiles to add to the artifact jar.

directories

The list of File directories whose contents should be added to the artifact jar.

customManifestItems

A map of manifest attribute string name to the string value to add as additional fields to the manifest file of an Avail artifact.

dependencyConfiguration

The configuration the dependencies are added to.