Packages

o

sbt

Package

object Package

Package

This module provides an API to package jar files.

See also

https://docs.oracle.com/javase/tutorial/deployment/jar/index.html

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Package
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final class Configuration extends AnyRef

    The jar package configuration.

    The jar package configuration. Contains all relevant information to create a jar file.

  2. final case class FixedTimestamp(value: Option[Long]) extends PackageOption with Product with Serializable
  3. final case class JarManifest(m: Manifest) extends PackageOption with Product with Serializable
  4. final case class MainClass(mainClassName: String) extends PackageOption with Product with Serializable
  5. final case class ManifestAttributes(attributes: (Name, String)*) extends PackageOption with Product with Serializable

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def ManifestAttributes(attributes: (String, String)*): ManifestAttributes
  5. def addImplManifestAttributes(name: String, version: String, homepage: Option[URL], org: String, orgName: String): PackageOption
  6. def addSpecManifestAttributes(name: String, version: String, orgName: String): PackageOption
  7. def apply(conf: Configuration, cacheStoreFactory: CacheStoreFactory, log: Logger, time: Option[Long]): Unit

    conf

    the package configuration that should be build

    cacheStoreFactory

    used for jar caching. We try to avoid rebuilds as much as possible

    log

    feedback for the user

    time

    static timestamp to use for all entries, if any.

  8. def apply(conf: Configuration, cacheStoreFactory: CacheStoreFactory, log: Logger): Unit

    conf

    the package configuration that should be build

    cacheStoreFactory

    used for jar caching. We try to avoid rebuilds as much as possible

    log

    feedback for the user

  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  11. lazy val defaultTimestamp: Option[Long]

    by default we overwrite all timestamps in JAR to epoch time 2010-01-01 for repeatable build

  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. val fixed2010Timestamp: Option[Long]
  16. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. def gitCommitDateTimestamp: Option[Long]
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. val keepTimestamps: Option[Long]
  21. def makeJar(sources: Seq[(File, String)], jar: File, manifest: Manifest, log: Logger, time: Option[Long]): Unit
  22. implicit def manifestFormat: JsonFormat[Manifest]
  23. def mergeAttributes(a1: Attributes, a2: Attributes): Map[AnyRef, AnyRef]
  24. def mergeManifests(manifest: Manifest, mergeManifest: Manifest): Unit
  25. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  26. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  28. def setFixedTimestamp(value: Option[Long]): PackageOption
  29. def setVersion(main: Attributes): Unit

    updates the manifest version is there is none present.

    updates the manifest version is there is none present.

    main

    the current jar attributes

  30. def sourcesDebugString(sources: Seq[(File, String)]): String
  31. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  32. def timeFromConfiguration(config: Configuration): Option[Long]
  33. def toString(): String
    Definition Classes
    AnyRef → Any
  34. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Deprecated Value Members

  1. def makeJar(sources: Seq[(File, String)], jar: File, manifest: Manifest, log: Logger): Unit
    Annotations
    @deprecated
    Deprecated

    (Since version 1.4.0) Specify whether to use a static timestamp

Inherited from AnyRef

Inherited from Any

Ungrouped