JarOps

mill.api.JarOps
See theJarOps companion object
trait JarOps

Attributes

Companion
object
Source
JarOps.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object JarOps

Members list

Value members

Concrete methods

@Scaladoc(value = "/**\n * Create a JAR file with default inflation level.\n *\n * @param jar The final JAR file\n * @param inputPaths The input paths resembling the content of the JAR file.\n * Files will be directly included in the root of the archive,\n * whereas for directories their content is added to the root of the archive.\n * @param manifest The JAR Manifest\n * @param fileFilter A filter to support exclusions of selected files\n * @param includeDirs If `true` the JAR archive will contain directory entries.\n * According to the ZIP specification, directory entries are not required.\n * In the Java ecosystem, most JARs have directory entries, so including them may reduce compatibility issues.\n * Directory entry names will result with a trailing `/`.\n * @param timestamp If specified, this timestamp is used as modification timestamp (mtime) for all entries in the JAR file.\n * Having a stable timestamp may result in reproducible files, if all other content, including the JAR Manifest, keep stable.\n */")
def jar(jar: Path, inputPaths: Agg[Path], manifest: JarManifest, fileFilter: (Path, RelPath) => Boolean, includeDirs: Boolean, timestamp: Option[Long]): Unit

Create a JAR file with default inflation level.

Create a JAR file with default inflation level.

Value parameters

fileFilter

A filter to support exclusions of selected files

includeDirs

If true the JAR archive will contain directory entries. According to the ZIP specification, directory entries are not required. In the Java ecosystem, most JARs have directory entries, so including them may reduce compatibility issues. Directory entry names will result with a trailing /.

inputPaths

The input paths resembling the content of the JAR file. Files will be directly included in the root of the archive, whereas for directories their content is added to the root of the archive.

jar

The final JAR file

manifest

The JAR Manifest

timestamp

If specified, this timestamp is used as modification timestamp (mtime) for all entries in the JAR file. Having a stable timestamp may result in reproducible files, if all other content, including the JAR Manifest, keep stable.

Attributes

Source
JarOps.scala
@Scaladoc(value = "/**\n * Create a JAR file with default inflation level.\n *\n * @param jar The final JAR file\n * @param inputPaths The input paths resembling the content of the JAR file.\n * Files will be directly included in the root of the archive,\n * whereas for directories their content is added to the root of the archive.\n * @param manifest The JAR Manifest\n * @param fileFilter A filter to support exclusions of selected files\n * @param includeDirs If `true` the JAR archive will contain directory entries.\n * According to the ZIP specification, directory entries are not required.\n * In the Java ecosystem, most JARs have directory entries, so including them may reduce compatibility issues.\n * Directory entry names will result with a trailing `/`.\n * @param timestamp If specified, this timestamp is used as modification timestamp (mtime) for all entries in the JAR file.\n * Having a stable timestamp may result in reproducible files, if all other content, including the JAR Manifest, keep stable.\n */")
def jar(jar: Path, inputPaths: Agg[Path], manifest: Manifest, fileFilter: (Path, RelPath) => Boolean, includeDirs: Boolean, timestamp: Option[Long]): Unit

Create a JAR file with default inflation level.

Create a JAR file with default inflation level.

Value parameters

fileFilter

A filter to support exclusions of selected files

includeDirs

If true the JAR archive will contain directory entries. According to the ZIP specification, directory entries are not required. In the Java ecosystem, most JARs have directory entries, so including them may reduce compatibility issues. Directory entry names will result with a trailing /.

inputPaths

The input paths resembling the content of the JAR file. Files will be directly included in the root of the archive, whereas for directories their content is added to the root of the archive.

jar

The final JAR file

manifest

The JAR Manifest

timestamp

If specified, this timestamp is used as modification timestamp (mtime) for all entries in the JAR file. Having a stable timestamp may result in reproducible files, if all other content, including the JAR Manifest, keep stable.

Attributes

Source
JarOps.scala