|
|
Creates a new a Cpb archive containing the CPKs specified in cpkFiles and dumps it to outputStream,
this method will also attempt to resolve the all of the included Cpk dependencies and raises
DependencyResolutionException if any dependency is not met.
If useSignatures is false, the CPK signatures won't be verified and won't not be taken in consideration
in the dependency resolution (an unsigned CPK or a CPK signed by a different key will be considered
an equally good candidate to meet a dependency).
A metadataReader can also be specified to include an HOCON configuration file with metadata
in the generated archive.
fun assemble(destination: OutputStream, cpkFiles: Iterable<Path>, cpkArchives: Iterable<Path> = emptyList(), metadataReader: Reader? = null, signingParams: SigningParameters? = null, useSignatures: Boolean = jarSignatureVerificationEnabledByDefault()): Unit |