ManifestJar

scala.build.internal.ManifestJar$
object ManifestJar

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def create(classPath: Seq[Path], wrongSimplePaths: Boolean, scratchDirOpt: Option[Path]): Path

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)

Attributes

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.

Attributes