ManifestJar
object ManifestJar
Value members
Concrete methods
Creates a manifest JAR, in a temporary directory or in the passed scratched directory
Creates a manifest JAR, in a temporary directory or in the passed scratched directory
- Value parameters:
- classPath
Entries that should be put in the manifest class path
- scratchDirOpt
an optional scratch directory to write the manifest JAR under
- wrongSimplePaths
Write paths slightly differently in manifest, so that tools such as native-image accept them (but the manifest JAR can't be passed to 'java -cp' any more on Windows)
def maybeWithManifestClassPath[T](createManifest: Boolean, classPath: Seq[Path], wrongSimplePathsInManifest: Boolean)(f: Seq[Path] => T): T
Runs a block of code using a manifest JAR.
Runs a block of code using a manifest JAR.
See create for details about the parameters.